	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function awg_init_locked
_awg_init_locked:                       ## @awg_init_locked
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	callq	_device_get_softc
	movq	%rax, %r14
	movl	4(%rbx), %r15d
	movq	%rbx, %rdi
	callq	_AWG_ASSERT_LOCKED
	movl	%r15d, %edi
	callq	_if_getdrvflags
	movq	_IFF_DRV_RUNNING@GOTPCREL(%rip), %r12
	testl	%eax, (%r12)
	je	LBB0_1
## %bb.4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rbx, %rdi
	callq	_awg_setup_rxfilter
	movq	_awg_burst_len@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_BASIC_CTL_BURST_LEN_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_awg_rx_tx_pri@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	$0, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	_BASIC_CTL_RX_TX_PRI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_3:
	orl	%eax, %edx
	movq	_EMAC_BASIC_CTL_1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_WR4
	movq	%rbx, %rdi
	callq	_awg_enable_intr
	movq	_EMAC_TX_CTL_1@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_RD4
	movq	_TX_DMA_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_TX_MD@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r13), %esi
	movq	_TX_NEXT_FRAME@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_WR4
	movq	_EMAC_RX_CTL_1@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_RD4
	movq	_RX_DMA_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r13), %esi
	movq	_RX_MD@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_WR4
	movq	_EMAC_TX_CTL_0@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_RD4
	movl	(%r13), %esi
	movq	_TX_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_WR4
	movq	_EMAC_RX_CTL_0@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_RD4
	movq	_RX_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r13), %esi
	movq	_CHECK_CRC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_WR4
	movl	(%r12), %esi
	movq	_IFF_DRV_OACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_if_setdrvflagbits
	movq	%r14, %rdi
	callq	_mii_mediachg
	movq	_hz@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_awg_tick@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%rbx, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_callout_reset                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_DRV_RUNNING,4,2            ## @IFF_DRV_RUNNING
	.comm	_awg_burst_len,4,2              ## @awg_burst_len
	.comm	_BASIC_CTL_BURST_LEN_SHIFT,4,2  ## @BASIC_CTL_BURST_LEN_SHIFT
	.comm	_awg_rx_tx_pri,8,3              ## @awg_rx_tx_pri
	.comm	_BASIC_CTL_RX_TX_PRI,4,2        ## @BASIC_CTL_RX_TX_PRI
	.comm	_EMAC_BASIC_CTL_1,4,2           ## @EMAC_BASIC_CTL_1
	.comm	_EMAC_TX_CTL_1,4,2              ## @EMAC_TX_CTL_1
	.comm	_TX_DMA_EN,4,2                  ## @TX_DMA_EN
	.comm	_TX_MD,4,2                      ## @TX_MD
	.comm	_TX_NEXT_FRAME,4,2              ## @TX_NEXT_FRAME
	.comm	_EMAC_RX_CTL_1,4,2              ## @EMAC_RX_CTL_1
	.comm	_RX_DMA_EN,4,2                  ## @RX_DMA_EN
	.comm	_RX_MD,4,2                      ## @RX_MD
	.comm	_EMAC_TX_CTL_0,4,2              ## @EMAC_TX_CTL_0
	.comm	_TX_EN,4,2                      ## @TX_EN
	.comm	_EMAC_RX_CTL_0,4,2              ## @EMAC_RX_CTL_0
	.comm	_RX_EN,4,2                      ## @RX_EN
	.comm	_CHECK_CRC,4,2                  ## @CHECK_CRC
	.comm	_IFF_DRV_OACTIVE,4,2            ## @IFF_DRV_OACTIVE
	.comm	_hz,4,2                         ## @hz
	.comm	_awg_tick,4,2                   ## @awg_tick
	.comm	_IFCAP_POLLING,4,2              ## @IFCAP_POLLING
	.no_dead_strip	_awg_init_locked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function awg_init_locked
_awg_init_locked:                       ; @awg_init_locked
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	w0, [x0, #8]
	bl	_device_get_softc
	mov	x20, x0
	ldr	w21, [x19, #4]
	mov	x0, x19
	bl	_AWG_ASSERT_LOCKED
	mov	x0, x21
	bl	_if_getdrvflags
Lloh0:
	adrp	x22, _IFF_DRV_RUNNING@GOTPAGE
Lloh1:
	ldr	x22, [x22, _IFF_DRV_RUNNING@GOTPAGEOFF]
	ldr	w8, [x22]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x0, x19
	bl	_awg_setup_rxfilter
Lloh2:
	adrp	x8, _awg_burst_len@GOTPAGE
Lloh3:
	ldr	x8, [x8, _awg_burst_len@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _BASIC_CTL_BURST_LEN_SHIFT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _BASIC_CTL_BURST_LEN_SHIFT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	lsl	w8, w8, w9
Lloh8:
	adrp	x9, _awg_rx_tx_pri@GOTPAGE
Lloh9:
	ldr	x9, [x9, _awg_rx_tx_pri@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
Lloh11:
	adrp	x10, _BASIC_CTL_RX_TX_PRI@GOTPAGE
Lloh12:
	ldr	x10, [x10, _BASIC_CTL_RX_TX_PRI@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	cmp	x9, #0
	csel	w9, wzr, w10, eq
	orr	w2, w9, w8
Lloh14:
	adrp	x8, _EMAC_BASIC_CTL_1@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EMAC_BASIC_CTL_1@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_WR4
	mov	x0, x19
	bl	_awg_enable_intr
Lloh17:
	adrp	x23, _EMAC_TX_CTL_1@GOTPAGE
Lloh18:
	ldr	x23, [x23, _EMAC_TX_CTL_1@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_RD4
	ldr	w1, [x23]
Lloh19:
	adrp	x8, _TX_DMA_EN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _TX_DMA_EN@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh22:
	adrp	x9, _TX_MD@GOTPAGE
Lloh23:
	ldr	x9, [x9, _TX_MD@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh25:
	adrp	x9, _TX_NEXT_FRAME@GOTPAGE
Lloh26:
	ldr	x9, [x9, _TX_NEXT_FRAME@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_WR4
Lloh28:
	adrp	x23, _EMAC_RX_CTL_1@GOTPAGE
Lloh29:
	ldr	x23, [x23, _EMAC_RX_CTL_1@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_RD4
	ldr	w1, [x23]
Lloh30:
	adrp	x8, _RX_DMA_EN@GOTPAGE
Lloh31:
	ldr	x8, [x8, _RX_DMA_EN@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh33:
	adrp	x9, _RX_MD@GOTPAGE
Lloh34:
	ldr	x9, [x9, _RX_MD@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_WR4
Lloh36:
	adrp	x23, _EMAC_TX_CTL_0@GOTPAGE
Lloh37:
	ldr	x23, [x23, _EMAC_TX_CTL_0@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_RD4
	ldr	w1, [x23]
Lloh38:
	adrp	x8, _TX_EN@GOTPAGE
Lloh39:
	ldr	x8, [x8, _TX_EN@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	orr	w2, w8, w0
	mov	x0, x19
	bl	_WR4
Lloh41:
	adrp	x23, _EMAC_RX_CTL_0@GOTPAGE
Lloh42:
	ldr	x23, [x23, _EMAC_RX_CTL_0@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_RD4
	ldr	w1, [x23]
Lloh43:
	adrp	x8, _RX_EN@GOTPAGE
Lloh44:
	ldr	x8, [x8, _RX_EN@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh46:
	adrp	x9, _CHECK_CRC@GOTPAGE
Lloh47:
	ldr	x9, [x9, _CHECK_CRC@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_WR4
	ldr	w1, [x22]
Lloh49:
	adrp	x8, _IFF_DRV_OACTIVE@GOTPAGE
Lloh50:
	ldr	x8, [x8, _IFF_DRV_OACTIVE@GOTPAGEOFF]
Lloh51:
	ldr	w2, [x8]
	mov	x0, x21
	bl	_if_setdrvflagbits
	mov	x0, x20
	bl	_mii_mediachg
Lloh52:
	adrp	x8, _hz@GOTPAGE
Lloh53:
	ldr	x8, [x8, _hz@GOTPAGEOFF]
Lloh54:
	adrp	x9, _awg_tick@GOTPAGE
Lloh55:
	ldr	x9, [x9, _awg_tick@GOTPAGEOFF]
Lloh56:
	ldr	w1, [x8]
Lloh57:
	ldr	w2, [x9]
	mov	x0, x19
	mov	x3, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_callout_reset
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh56
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_DRV_RUNNING,4,2            ; @IFF_DRV_RUNNING
	.comm	_awg_burst_len,4,2              ; @awg_burst_len
	.comm	_BASIC_CTL_BURST_LEN_SHIFT,4,2  ; @BASIC_CTL_BURST_LEN_SHIFT
	.comm	_awg_rx_tx_pri,8,3              ; @awg_rx_tx_pri
	.comm	_BASIC_CTL_RX_TX_PRI,4,2        ; @BASIC_CTL_RX_TX_PRI
	.comm	_EMAC_BASIC_CTL_1,4,2           ; @EMAC_BASIC_CTL_1
	.comm	_EMAC_TX_CTL_1,4,2              ; @EMAC_TX_CTL_1
	.comm	_TX_DMA_EN,4,2                  ; @TX_DMA_EN
	.comm	_TX_MD,4,2                      ; @TX_MD
	.comm	_TX_NEXT_FRAME,4,2              ; @TX_NEXT_FRAME
	.comm	_EMAC_RX_CTL_1,4,2              ; @EMAC_RX_CTL_1
	.comm	_RX_DMA_EN,4,2                  ; @RX_DMA_EN
	.comm	_RX_MD,4,2                      ; @RX_MD
	.comm	_EMAC_TX_CTL_0,4,2              ; @EMAC_TX_CTL_0
	.comm	_TX_EN,4,2                      ; @TX_EN
	.comm	_EMAC_RX_CTL_0,4,2              ; @EMAC_RX_CTL_0
	.comm	_RX_EN,4,2                      ; @RX_EN
	.comm	_CHECK_CRC,4,2                  ; @CHECK_CRC
	.comm	_IFF_DRV_OACTIVE,4,2            ; @IFF_DRV_OACTIVE
	.comm	_hz,4,2                         ; @hz
	.comm	_awg_tick,4,2                   ; @awg_tick
	.comm	_IFCAP_POLLING,4,2              ; @IFCAP_POLLING
	.no_dead_strip	_awg_init_locked
.subsections_via_symbols
