	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function awg_intr
_awg_intr:                              ## @awg_intr
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_AWG_LOCK
	movq	_EMAC_INT_STA@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_RD4
	movl	%eax, %ebx
	movl	(%r15), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_WR4
	movq	_RX_INT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_awg_rxintr
LBB0_2:
	movq	_TX_INT@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%ebx, %eax
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_awg_txeof
	movl	(%r15), %eax
LBB0_4:
	movq	_TX_BUF_UA_INT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	testl	%ebx, %eax
	je	LBB0_7
## %bb.5:
	movl	(%r14), %edi
	callq	_if_sendq_empty
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	callq	_awg_start_locked
LBB0_7:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AWG_UNLOCK                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EMAC_INT_STA,4,2               ## @EMAC_INT_STA
	.comm	_RX_INT,4,2                     ## @RX_INT
	.comm	_TX_INT,4,2                     ## @TX_INT
	.comm	_TX_BUF_UA_INT,4,2              ## @TX_BUF_UA_INT
	.no_dead_strip	_awg_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function awg_intr
_awg_intr:                              ; @awg_intr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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_LOCK
Lloh0:
	adrp	x21, _EMAC_INT_STA@GOTPAGE
Lloh1:
	ldr	x21, [x21, _EMAC_INT_STA@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_RD4
	mov	x20, x0
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_WR4
Lloh2:
	adrp	x8, _RX_INT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RX_INT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_awg_rxintr
LBB0_2:
Lloh5:
	adrp	x21, _TX_INT@GOTPAGE
Lloh6:
	ldr	x21, [x21, _TX_INT@GOTPAGEOFF]
	ldr	w8, [x21]
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_awg_txeof
	ldr	w8, [x21]
LBB0_4:
Lloh7:
	adrp	x9, _TX_BUF_UA_INT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _TX_BUF_UA_INT@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w20
	b.eq	LBB0_7
; %bb.5:
	ldr	w0, [x19]
	bl	_if_sendq_empty
	cbnz	w0, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_awg_start_locked
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_AWG_UNLOCK
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EMAC_INT_STA,4,2               ; @EMAC_INT_STA
	.comm	_RX_INT,4,2                     ; @RX_INT
	.comm	_TX_INT,4,2                     ; @TX_INT
	.comm	_TX_BUF_UA_INT,4,2              ; @TX_BUF_UA_INT
	.no_dead_strip	_awg_intr
.subsections_via_symbols
