	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ql_is_full_dup
_ql_is_full_dup:                        ## @ql_is_full_dup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	cmpl	$129, (%rdi)
	jne	LBB0_3
## %bb.1:
	leaq	-4(%rbp), %rdx
	movl	$26, %esi
	callq	_ql_mii_read_reg
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movl	-4(%rbp), %eax
	notl	%eax
	testl	$4224, %eax                     ## imm = 0x1080
	sete	%al
	jmp	LBB0_7
LBB0_3:
	movq	_AUX_CONTROL_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-4(%rbp), %rdx
	callq	_ql_mii_read_reg
	testl	%eax, %eax
	js	LBB0_6
## %bb.4:
	movq	_PHY_AUX_DUPLEX_STAT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -4(%rbp)
	setne	%al
	jmp	LBB0_7
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	movzbl	%al, %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AUX_CONTROL_STATUS,4,2         ## @AUX_CONTROL_STATUS
	.comm	_PHY_AUX_DUPLEX_STAT,4,2        ## @PHY_AUX_DUPLEX_STAT
	.no_dead_strip	_ql_is_full_dup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ql_is_full_dup
_ql_is_full_dup:                        ; @ql_is_full_dup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x0]
	cmp	w8, #129
	b.ne	LBB0_3
; %bb.1:
	sub	x2, x29, #4
	mov	w1, #26
	bl	_ql_mii_read_reg
	cbnz	w0, LBB0_5
; %bb.2:
	ldur	w8, [x29, #-4]
	mov	w9, #4224
	bics	wzr, w9, w8
	cset	w0, eq
	b	LBB0_6
LBB0_3:
Lloh0:
	adrp	x8, _AUX_CONTROL_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AUX_CONTROL_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	sub	x2, x29, #4
	bl	_ql_mii_read_reg
	tbnz	w0, #31, LBB0_5
; %bb.4:
	ldur	w8, [x29, #-4]
Lloh3:
	adrp	x9, _PHY_AUX_DUPLEX_STAT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PHY_AUX_DUPLEX_STAT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, ne
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AUX_CONTROL_STATUS,4,2         ; @AUX_CONTROL_STATUS
	.comm	_PHY_AUX_DUPLEX_STAT,4,2        ; @PHY_AUX_DUPLEX_STAT
	.no_dead_strip	_ql_is_full_dup
.subsections_via_symbols
