	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ql_start_loopback
_ql_start_loopback:                     ## @ql_start_loopback
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	callq	_netif_carrier_ok
	leaq	4(%rbx), %rsi
	movq	_QL_LB_LINK_UP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	callq	_set_bit
	movl	8(%rbx), %edi
	callq	_netif_carrier_off
	jmp	LBB0_3
LBB0_2:
	callq	_clear_bit
LBB0_3:
	movq	_CFG_LOOPBACK_PCS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ql_mb_set_port_cfg             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QL_LB_LINK_UP,4,2              ## @QL_LB_LINK_UP
	.comm	_CFG_LOOPBACK_PCS,4,2           ## @CFG_LOOPBACK_PCS
	.no_dead_strip	_ql_start_loopback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ql_start_loopback
_ql_start_loopback:                     ; @ql_start_loopback
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #8]
	bl	_netif_carrier_ok
	mov	x8, x0
Lloh0:
	adrp	x9, _QL_LB_LINK_UP@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QL_LB_LINK_UP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	add	x1, x19, #4
	cbz	x8, LBB0_2
; %bb.1:
	bl	_set_bit
	ldr	w0, [x19, #8]
	bl	_netif_carrier_off
	b	LBB0_3
LBB0_2:
	bl	_clear_bit
LBB0_3:
Lloh3:
	adrp	x8, _CFG_LOOPBACK_PCS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CFG_LOOPBACK_PCS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ql_mb_set_port_cfg
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_QL_LB_LINK_UP,4,2              ; @QL_LB_LINK_UP
	.comm	_CFG_LOOPBACK_PCS,4,2           ; @CFG_LOOPBACK_PCS
	.no_dead_strip	_ql_start_loopback
.subsections_via_symbols
