	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_pending
_check_pending:                         ## @check_pending
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	8(%rdi), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	(%rbx), %edx
	leal	-128(%rdx), %eax
	cmpl	$7, %eax
	ja	LBB0_1
## %bb.6:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_15:
	movq	_BS_RESETTING@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_1:
	testl	%edx, %edx
	je	LBB0_4
## %bb.2:
	movq	16(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_dev_warn
	jmp	LBB0_3
LBB0_10:
	movq	_BS_B2OPEN@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_9:
	movq	_BS_B1OPEN@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_7:
	movq	_BS_ATOPEN@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	testl	%eax, 4(%rbx)
	jne	LBB0_3
	jmp	LBB0_5
LBB0_14:
	movq	_BS_B2OPEN@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_13:
	movq	_BS_B1OPEN@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_11:
	movq	_BS_ATOPEN@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %eax
	testl	%eax, 4(%rbx)
	jne	LBB0_5
LBB0_3:
	movl	$0, (%rbx)
LBB0_4:
	addq	$12, %rbx
	movq	%rbx, %rdi
	callq	_del_timer
LBB0_5:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_15
	.long	L0_0_set_10
	.long	L0_0_set_9
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_14
	.long	L0_0_set_13
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_BS_ATOPEN,4,2                  ## @BS_ATOPEN
	.comm	_BS_B1OPEN,4,2                  ## @BS_B1OPEN
	.comm	_BS_B2OPEN,4,2                  ## @BS_B2OPEN
	.comm	_BS_RESETTING,4,2               ## @BS_RESETTING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown pending request 0x%02x cleared\n"

	.no_dead_strip	_check_pending
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_pending
_check_pending:                         ; @check_pending
	.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	x20, x0
	add	x19, x0, #8
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w2, [x20]
	sub	w8, w2, #128
	cmp	w8, #7
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w8, [x20, #4]
Lloh2:
	adrp	x9, _BS_RESETTING@GOTPAGE
Lloh3:
	ldr	x9, [x9, _BS_RESETTING@GOTPAGEOFF]
	b	LBB0_12
LBB0_3:
	cbz	w2, LBB0_14
; %bb.4:
	ldr	x0, [x20, #16]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
	b	LBB0_13
LBB0_5:
	ldr	w8, [x20, #4]
Lloh6:
	adrp	x9, _BS_B2OPEN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BS_B2OPEN@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
	ldr	w8, [x20, #4]
Lloh8:
	adrp	x9, _BS_B1OPEN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _BS_B1OPEN@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
	ldr	w8, [x20, #4]
Lloh10:
	adrp	x9, _BS_ATOPEN@GOTPAGE
Lloh11:
	ldr	x9, [x9, _BS_ATOPEN@GOTPAGEOFF]
LBB0_8:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_13
	b	LBB0_15
LBB0_9:
	ldr	w8, [x20, #4]
Lloh12:
	adrp	x9, _BS_B2OPEN@GOTPAGE
Lloh13:
	ldr	x9, [x9, _BS_B2OPEN@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
	ldr	w8, [x20, #4]
Lloh14:
	adrp	x9, _BS_B1OPEN@GOTPAGE
Lloh15:
	ldr	x9, [x9, _BS_B1OPEN@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
	ldr	w8, [x20, #4]
Lloh16:
	adrp	x9, _BS_ATOPEN@GOTPAGE
Lloh17:
	ldr	x9, [x9, _BS_ATOPEN@GOTPAGEOFF]
LBB0_12:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_15
LBB0_13:
	str	wzr, [x20]
LBB0_14:
	add	x0, x20, #12
	bl	_del_timer
LBB0_15:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_BS_ATOPEN,4,2                  ; @BS_ATOPEN
	.comm	_BS_B1OPEN,4,2                  ; @BS_B1OPEN
	.comm	_BS_B2OPEN,4,2                  ; @BS_B2OPEN
	.comm	_BS_RESETTING,4,2               ; @BS_RESETTING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown pending request 0x%02x cleared\n"

	.no_dead_strip	_check_pending
.subsections_via_symbols
