	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt753x_set_port_link
_mt753x_set_port_link:                  ## @mt753x_set_port_link
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MT753X_NUM_PHYS@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jle	LBB0_1
## %bb.2:
	popq	%rbp
	jmp	_switch_generic_set_link        ## TAILCALL
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MT753X_NUM_PHYS,4,2            ## @MT753X_NUM_PHYS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.no_dead_strip	_mt753x_set_port_link
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt753x_set_port_link
_mt753x_set_port_link:                  ; @mt753x_set_port_link
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MT753X_NUM_PHYS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MT753X_NUM_PHYS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.le	LBB0_2
; %bb.1:
	b	_switch_generic_set_link
LBB0_2:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MT753X_NUM_PHYS,4,2            ; @MT753X_NUM_PHYS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.no_dead_strip	_mt753x_set_port_link
.subsections_via_symbols
