	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mv88e6390_port_set_cmode       ## -- Begin function mv88e6390_port_set_cmode
	.p2align	4, 0x90
_mv88e6390_port_set_cmode:              ## @mv88e6390_port_set_cmode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $esi killed $esi def $rsi
	leal	-11(%rsi), %eax
	cmpl	$-3, %eax
	ja	LBB0_3
## %bb.1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_3:
	leal	-128(%rdx), %eax
	cmpl	$3, %eax
	jae	LBB0_4
## %bb.6:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_4:
	xorl	%eax, %eax
	cmpl	$131, %edx
	jne	LBB0_7
## %bb.5:
	popq	%rbp
	retq
LBB0_7:
                                        ## kill: def $esi killed $esi killed $rsi
                                        ## kill: def $edx killed $edx killed $rdx
	popq	%rbp
	jmp	_mv88e6xxx_port_set_cmode       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mv88e6390_port_set_cmode       ; -- Begin function mv88e6390_port_set_cmode
	.p2align	2
_mv88e6390_port_set_cmode:              ; @mv88e6390_port_set_cmode
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #11
	cmn	w8, #3
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
	sub	w8, w2, #128
	cmp	w8, #3
	b.hs	LBB0_5
; %bb.3:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_5:
	cmp	w2, #131
	b.ne	LBB0_7
; %bb.6:
	mov	w0, #0
	ret
LBB0_7:
	b	_mv88e6xxx_port_set_cmode
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
