	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function awg_start_locked
_awg_start_locked:                      ## @awg_start_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, %r14
	callq	_AWG_ASSERT_LOCKED
	cmpl	$0, 12(%r14)
	je	LBB0_11
## %bb.1:
	movl	8(%r14), %r12d
	movl	%r12d, %edi
	callq	_if_getdrvflags
	movq	_IFF_DRV_RUNNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_IFF_DRV_OACTIVE@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	orl	%ecx, %edx
	andl	%eax, %edx
	cmpl	%ecx, %edx
	jne	LBB0_11
## %bb.2:
	movl	%r12d, %edi
	callq	_if_dequeue
	movq	%rax, -48(%rbp)
	testq	%rax, %rax
	je	LBB0_11
## %bb.3:
	xorl	%ebx, %ebx
	leaq	-48(%rbp), %r15
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_awg_encap
	testl	%eax, %eax
	jne	LBB0_5
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-48(%rbp), %rsi
	movl	%r12d, %edi
	callq	_if_bpfmtap
	movl	%r12d, %edi
	callq	_if_dequeue
	movq	%rax, -48(%rbp)
	decl	%ebx
	testq	%rax, %rax
	jne	LBB0_4
	jmp	LBB0_10
LBB0_5:
	movq	_ENOBUFS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_7
## %bb.6:
	movl	(%r13), %esi
	movl	%r12d, %edi
	xorl	%edx, %edx
	callq	_if_setdrvflagbits
LBB0_7:
	movq	-48(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.8:
	movl	%r12d, %edi
	callq	_if_sendq_prepend
LBB0_9:
	testl	%ebx, %ebx
	je	LBB0_11
LBB0_10:
	movl	(%r14), %esi
	movl	4(%r14), %edi
	movq	_BUS_DMASYNC_PREREAD@GOTPCREL(%rip), %rax
	movq	_BUS_DMASYNC_PREWRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	callq	_bus_dmamap_sync
	movq	_EMAC_TX_CTL_1@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_RD4
	movl	(%rbx), %esi
	movq	_TX_DMA_START@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_WR4
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_DRV_RUNNING,4,2            ## @IFF_DRV_RUNNING
	.comm	_IFF_DRV_OACTIVE,4,2            ## @IFF_DRV_OACTIVE
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.comm	_BUS_DMASYNC_PREREAD,4,2        ## @BUS_DMASYNC_PREREAD
	.comm	_BUS_DMASYNC_PREWRITE,4,2       ## @BUS_DMASYNC_PREWRITE
	.comm	_EMAC_TX_CTL_1,4,2              ## @EMAC_TX_CTL_1
	.comm	_TX_DMA_START,4,2               ## @TX_DMA_START
	.no_dead_strip	_awg_start_locked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function awg_start_locked
_awg_start_locked:                      ; @awg_start_locked
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	bl	_AWG_ASSERT_LOCKED
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_12
; %bb.1:
	ldr	w20, [x19, #8]
	mov	x0, x20
	bl	_if_getdrvflags
Lloh0:
	adrp	x8, _IFF_DRV_RUNNING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFF_DRV_RUNNING@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x21, _IFF_DRV_OACTIVE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _IFF_DRV_OACTIVE@GOTPAGEOFF]
	ldr	w9, [x21]
	orr	w9, w9, w8
	and	w9, w9, w0
	cmp	w9, w8
	b.ne	LBB0_12
; %bb.2:
	mov	x0, x20
	bl	_if_dequeue
	str	x0, [sp, #8]
	cbz	x0, LBB0_12
; %bb.3:
	mov	w22, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #8
	mov	x0, x19
	bl	_awg_encap
	cbnz	w0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x1, [sp, #8]
	mov	x0, x20
	bl	_if_bpfmtap
	mov	x0, x20
	bl	_if_dequeue
	str	x0, [sp, #8]
	sub	w22, w22, #1
	cbnz	x0, LBB0_4
	b	LBB0_11
LBB0_6:
Lloh5:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_8
; %bb.7:
	ldr	w1, [x21]
	mov	x0, x20
	mov	w2, #0
	bl	_if_setdrvflagbits
LBB0_8:
	ldr	x1, [sp, #8]
	cbz	x1, LBB0_10
; %bb.9:
	mov	x0, x20
	bl	_if_sendq_prepend
LBB0_10:
	cbz	w22, LBB0_12
LBB0_11:
Lloh8:
	adrp	x8, _BUS_DMASYNC_PREREAD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BUS_DMASYNC_PREREAD@GOTPAGEOFF]
	ldp	w1, w0, [x19]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _BUS_DMASYNC_PREWRITE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _BUS_DMASYNC_PREWRITE@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w2, w9, w8
	bl	_bus_dmamap_sync
Lloh14:
	adrp	x20, _EMAC_TX_CTL_1@GOTPAGE
Lloh15:
	ldr	x20, [x20, _EMAC_TX_CTL_1@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_RD4
	ldr	w1, [x20]
Lloh16:
	adrp	x8, _TX_DMA_START@GOTPAGE
Lloh17:
	ldr	x8, [x8, _TX_DMA_START@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	orr	w2, w8, w0
	mov	x0, x19
	bl	_WR4
LBB0_12:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_DRV_RUNNING,4,2            ; @IFF_DRV_RUNNING
	.comm	_IFF_DRV_OACTIVE,4,2            ; @IFF_DRV_OACTIVE
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.comm	_BUS_DMASYNC_PREREAD,4,2        ; @BUS_DMASYNC_PREREAD
	.comm	_BUS_DMASYNC_PREWRITE,4,2       ; @BUS_DMASYNC_PREWRITE
	.comm	_EMAC_TX_CTL_1,4,2              ; @EMAC_TX_CTL_1
	.comm	_TX_DMA_START,4,2               ; @TX_DMA_START
	.no_dead_strip	_awg_start_locked
.subsections_via_symbols
