	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dbusy_timer_handler
_dbusy_timer_handler:                   ## @dbusy_timer_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	%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	_timer@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_from_timer
	movq	%rax, %r13
	movq	16(%rax), %r14
	movq	_FLG_BUSY_TIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r13), %r15
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movq	_W_D_RBCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ReadW6692
	movl	%eax, %r12d
	movq	_W_D_STAR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_ReadW6692
	movl	%eax, %ebx
	movl	4(%r14), %esi
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_pr_debug
	movq	_W_D_STAR_XBZ@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_FLG_L1_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_and_set_bit
	jmp	LBB0_7
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_FLG_BUSY_TIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_and_clear_bit
	cmpq	$0, (%r13)
	je	LBB0_5
## %bb.4:
	movq	$0, (%r13)
	jmp	LBB0_6
LBB0_5:
	movl	4(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_pr_info
LBB0_6:
	movq	_W_D_CMDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_W_D_CMDR_XRST@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_WriteW6692
LBB0_7:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_timer,4,2                      ## @timer
	.comm	_FLG_BUSY_TIMER,4,2             ## @FLG_BUSY_TIMER
	.comm	_W_D_RBCH,4,2                   ## @W_D_RBCH
	.comm	_W_D_STAR,4,2                   ## @W_D_STAR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: D-Channel Busy RBCH %02x STAR %02x\n"

	.comm	_W_D_STAR_XBZ,4,2               ## @W_D_STAR_XBZ
	.comm	_FLG_L1_BUSY,4,2                ## @FLG_L1_BUSY
L_.str.1:                               ## @.str.1
	.asciz	"%s: W6692 D-Channel Busy no tx_idx\n"

	.comm	_W_D_CMDR,4,2                   ## @W_D_CMDR
	.comm	_W_D_CMDR_XRST,4,2              ## @W_D_CMDR_XRST
	.comm	_dch,8,3                        ## @dch
	.no_dead_strip	_dbusy_timer_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dbusy_timer_handler
_dbusy_timer_handler:                   ; @dbusy_timer_handler
	.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
Lloh0:
	adrp	x8, _timer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _timer@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_from_timer
	mov	x20, x0
	ldr	x19, [x0, #16]
Lloh3:
	adrp	x24, _FLG_BUSY_TIMER@GOTPAGE
Lloh4:
	ldr	x24, [x24, _FLG_BUSY_TIMER@GOTPAGEOFF]
	ldr	w0, [x24]
	add	x21, x20, #8
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_spin_lock_irqsave
Lloh5:
	adrp	x8, _W_D_RBCH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _W_D_RBCH@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ReadW6692
	mov	x22, x0
Lloh8:
	adrp	x8, _W_D_STAR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _W_D_STAR@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ReadW6692
	mov	x23, x0
	ldr	w1, [x19, #4]
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x22
	mov	x3, x23
	bl	_pr_debug
Lloh13:
	adrp	x8, _W_D_STAR_XBZ@GOTPAGE
Lloh14:
	ldr	x8, [x8, _W_D_STAR_XBZ@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w23
	b.eq	LBB0_4
; %bb.2:
Lloh16:
	adrp	x8, _FLG_L1_BUSY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _FLG_L1_BUSY@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_and_set_bit
	b	LBB0_8
LBB0_3:
	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_4:
	ldr	w0, [x24]
	mov	x1, x21
	bl	_test_and_clear_bit
	ldr	x8, [x20]
	cbz	x8, LBB0_6
; %bb.5:
	str	xzr, [x20]
	b	LBB0_7
LBB0_6:
	ldr	w1, [x19, #4]
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_info
LBB0_7:
Lloh21:
	adrp	x8, _W_D_CMDR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _W_D_CMDR@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x8, _W_D_CMDR_XRST@GOTPAGE
Lloh25:
	ldr	x8, [x8, _W_D_CMDR_XRST@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_WriteW6692
LBB0_8:
	mov	x0, 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	_spin_unlock_irqrestore
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_timer,4,2                      ; @timer
	.comm	_FLG_BUSY_TIMER,4,2             ; @FLG_BUSY_TIMER
	.comm	_W_D_RBCH,4,2                   ; @W_D_RBCH
	.comm	_W_D_STAR,4,2                   ; @W_D_STAR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: D-Channel Busy RBCH %02x STAR %02x\n"

	.comm	_W_D_STAR_XBZ,4,2               ; @W_D_STAR_XBZ
	.comm	_FLG_L1_BUSY,4,2                ; @FLG_L1_BUSY
l_.str.1:                               ; @.str.1
	.asciz	"%s: W6692 D-Channel Busy no tx_idx\n"

	.comm	_W_D_CMDR,4,2                   ; @W_D_CMDR
	.comm	_W_D_CMDR_XRST,4,2              ; @W_D_CMDR_XRST
	.comm	_dch,8,3                        ; @dch
	.no_dead_strip	_dbusy_timer_handler
.subsections_via_symbols
