	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rx_bus_master_complete_handler
_rx_bus_master_complete_handler:        ## @rx_bus_master_complete_handler
	.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
	movq	_rx_busy@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_rx_schedule                    ## TAILCALL
LBB0_2:
	movq	_DBG_RX@GOTPCREL(%rip), %rax
	movq	_DBG_ERR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_PRINTD
	movq	_MASTER_RX_COUNT_REG_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_wr_regl                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_rx_busy,4,2                    ## @rx_busy
	.comm	_DBG_RX,4,2                     ## @DBG_RX
	.comm	_DBG_ERR,4,2                    ## @DBG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unexpected RX bus master completion"

	.comm	_MASTER_RX_COUNT_REG_OFF,4,2    ## @MASTER_RX_COUNT_REG_OFF
	.no_dead_strip	_rx_bus_master_complete_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rx_bus_master_complete_handler
_rx_bus_master_complete_handler:        ; @rx_bus_master_complete_handler
	.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
Lloh0:
	adrp	x8, _rx_busy@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rx_busy@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_rx_schedule
LBB0_2:
Lloh3:
	adrp	x8, _DBG_RX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DBG_RX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _DBG_ERR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DBG_ERR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w0, w9, w8
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_PRINTD
Lloh11:
	adrp	x8, _MASTER_RX_COUNT_REG_OFF@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MASTER_RX_COUNT_REG_OFF@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wr_regl
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_rx_busy,4,2                    ; @rx_busy
	.comm	_DBG_RX,4,2                     ; @DBG_RX
	.comm	_DBG_ERR,4,2                    ; @DBG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unexpected RX bus master completion"

	.comm	_MASTER_RX_COUNT_REG_OFF,4,2    ; @MASTER_RX_COUNT_REG_OFF
	.no_dead_strip	_rx_bus_master_complete_handler
.subsections_via_symbols
