	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bba_interrupt
_bba_interrupt:                         ## @bba_interrupt
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_BBA_IR@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_bba_in8
	movl	%eax, %r15d
	movq	_BBA_IMR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_bba_in8
	movl	%eax, %ebx
	andl	%r15d, %ebx
	movq	_BBA_IR_FRAGI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%esi, %ebx
	je	LBB0_2
## %bb.1:
	movl	(%r12), %edi
	callq	_bba_out8
LBB0_2:
	movq	_BBA_IR_RI@GOTPCREL(%rip), %r15
	testl	%ebx, (%r15)
	je	LBB0_4
## %bb.3:
	movq	_bba_netif@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$16, %esi
	callq	_bba_start_rx
	movl	(%r12), %edi
	movl	(%r15), %esi
	callq	_bba_out8
LBB0_4:
	movq	_BBA_IR_REI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%ebx, %esi
	je	LBB0_6
## %bb.5:
	movl	(%r12), %edi
	callq	_bba_out8
LBB0_6:
	movq	_BBA_IR_TI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%ebx, %esi
	je	LBB0_8
## %bb.7:
	movl	(%r12), %edi
	callq	_bba_out8
LBB0_8:
	movq	_BBA_IR_TEI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%ebx, %esi
	je	LBB0_10
## %bb.9:
	movl	(%r12), %edi
	callq	_bba_out8
LBB0_10:
	movq	_BBA_IR_FIFOEI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%ebx, %esi
	je	LBB0_12
## %bb.11:
	movl	(%r12), %edi
	callq	_bba_out8
LBB0_12:
	movq	_BBA_IR_BUSEI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%ebx, %esi
	je	LBB0_14
## %bb.13:
	movl	(%r12), %edi
	callq	_bba_out8
LBB0_14:
	movq	_BBA_IR_RBFI@GOTPCREL(%rip), %r15
	testl	%ebx, (%r15)
	je	LBB0_16
## %bb.15:
	movq	_bba_netif@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$16, %esi
	callq	_bba_start_rx
	movl	(%r12), %edi
	movl	(%r15), %esi
	callq	_bba_out8
LBB0_16:
	orl	%ebx, (%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BBA_IR,4,2                     ## @BBA_IR
	.comm	_BBA_IMR,4,2                    ## @BBA_IMR
	.comm	_BBA_IR_FRAGI,4,2               ## @BBA_IR_FRAGI
	.comm	_BBA_IR_RI,4,2                  ## @BBA_IR_RI
	.comm	_bba_netif,4,2                  ## @bba_netif
	.comm	_BBA_IR_REI,4,2                 ## @BBA_IR_REI
	.comm	_BBA_IR_TI,4,2                  ## @BBA_IR_TI
	.comm	_BBA_IR_TEI,4,2                 ## @BBA_IR_TEI
	.comm	_BBA_IR_FIFOEI,4,2              ## @BBA_IR_FIFOEI
	.comm	_BBA_IR_BUSEI,4,2               ## @BBA_IR_BUSEI
	.comm	_BBA_IR_RBFI,4,2                ## @BBA_IR_RBFI
	.no_dead_strip	_bba_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bba_interrupt
_bba_interrupt:                         ; @bba_interrupt
	.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
Lloh0:
	adrp	x21, _BBA_IR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _BBA_IR@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_bba_in8
	mov	x20, x0
Lloh2:
	adrp	x8, _BBA_IMR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BBA_IMR@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	bl	_bba_in8
	and	w20, w0, w20
Lloh5:
	adrp	x8, _BBA_IR_FRAGI@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BBA_IR_FRAGI@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	tst	w20, w1
	b.eq	LBB0_2
; %bb.1:
	ldr	w0, [x21]
	bl	_bba_out8
LBB0_2:
Lloh8:
	adrp	x23, _BBA_IR_RI@GOTPAGE
Lloh9:
	ldr	x23, [x23, _BBA_IR_RI@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh10:
	adrp	x22, _bba_netif@GOTPAGE
Lloh11:
	ldr	x22, [x22, _bba_netif@GOTPAGEOFF]
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
	ldr	w0, [x22]
	mov	w1, #16
	bl	_bba_start_rx
	ldr	w0, [x21]
	ldr	w1, [x23]
	bl	_bba_out8
LBB0_4:
Lloh12:
	adrp	x8, _BBA_IR_REI@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BBA_IR_REI@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	tst	w1, w20
	b.eq	LBB0_6
; %bb.5:
	ldr	w0, [x21]
	bl	_bba_out8
LBB0_6:
Lloh15:
	adrp	x8, _BBA_IR_TI@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BBA_IR_TI@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	tst	w1, w20
	b.eq	LBB0_8
; %bb.7:
	ldr	w0, [x21]
	bl	_bba_out8
LBB0_8:
Lloh18:
	adrp	x8, _BBA_IR_TEI@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BBA_IR_TEI@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	tst	w1, w20
	b.eq	LBB0_10
; %bb.9:
	ldr	w0, [x21]
	bl	_bba_out8
LBB0_10:
Lloh21:
	adrp	x8, _BBA_IR_FIFOEI@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BBA_IR_FIFOEI@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	tst	w1, w20
	b.eq	LBB0_12
; %bb.11:
	ldr	w0, [x21]
	bl	_bba_out8
LBB0_12:
Lloh24:
	adrp	x8, _BBA_IR_BUSEI@GOTPAGE
Lloh25:
	ldr	x8, [x8, _BBA_IR_BUSEI@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	tst	w1, w20
	b.eq	LBB0_14
; %bb.13:
	ldr	w0, [x21]
	bl	_bba_out8
LBB0_14:
Lloh27:
	adrp	x23, _BBA_IR_RBFI@GOTPAGE
Lloh28:
	ldr	x23, [x23, _BBA_IR_RBFI@GOTPAGEOFF]
	ldr	w8, [x23]
	tst	w8, w20
	b.eq	LBB0_16
; %bb.15:
	ldr	w0, [x22]
	mov	w1, #16
	bl	_bba_start_rx
	ldr	w0, [x21]
	ldr	w1, [x23]
	bl	_bba_out8
LBB0_16:
	ldr	w8, [x19]
	orr	w8, w8, w20
	str	w8, [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
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_BBA_IR,4,2                     ; @BBA_IR
	.comm	_BBA_IMR,4,2                    ; @BBA_IMR
	.comm	_BBA_IR_FRAGI,4,2               ; @BBA_IR_FRAGI
	.comm	_BBA_IR_RI,4,2                  ; @BBA_IR_RI
	.comm	_bba_netif,4,2                  ; @bba_netif
	.comm	_BBA_IR_REI,4,2                 ; @BBA_IR_REI
	.comm	_BBA_IR_TI,4,2                  ; @BBA_IR_TI
	.comm	_BBA_IR_TEI,4,2                 ; @BBA_IR_TEI
	.comm	_BBA_IR_FIFOEI,4,2              ; @BBA_IR_FIFOEI
	.comm	_BBA_IR_BUSEI,4,2               ; @BBA_IR_BUSEI
	.comm	_BBA_IR_RBFI,4,2                ; @BBA_IR_RBFI
	.no_dead_strip	_bba_interrupt
.subsections_via_symbols
