	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __vub300_irqpoll_response
___vub300_irqpoll_response:             ## @__vub300_irqpoll_response
	.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	56(%rdi), %rax
	cmpq	$0, (%rax)
	je	LBB0_24
## %bb.1:
	movq	%rdi, %r15
	movl	32(%rdi), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_24
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_10:
	movl	40(%r15), %eax
	movl	%eax, 52(%r15)
	movq	%r15, %rdi
	callq	_new_system_port_status
	cmpl	$0, 48(%r15)
	jne	LBB0_24
## %bb.11:
	movq	_HZ@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	imulq	$1717986919, %rax, %rsi         ## imm = 0x66666667
	movq	%rsi, %rax
	shrq	$63, %rax
	sarq	$33, %rsi
	addl	%eax, %esi
	movq	%r15, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	jmp	LBB0_23
LBB0_22:
	movq	%r15, %rdi
	movl	$1, %esi
LBB0_23:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vub300_queue_poll_work         ## TAILCALL
LBB0_15:
	movl	36(%r15), %r14d
	addl	$-3, %r14d
	cmpl	$8, %r14d
	jb	LBB0_18
## %bb.16:
	sarl	$3, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r15), %rsi
	addq	%rbx, %rsi
	movq	%r15, %rdi
	callq	_add_offloaded_reg
	addq	$4, %rbx
	decl	%r14d
	jne	LBB0_17
LBB0_18:
	leaq	8(%r15), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	cmpl	$0, 16(%r15)
	je	LBB0_20
## %bb.19:
	movl	12(%r15), %edi
	callq	_mmc_signal_sdio_irq
	movl	$0, 4(%r15)
	jmp	LBB0_7
LBB0_12:
	movl	36(%r15), %r14d
	addl	$-3, %r14d
	cmpl	$8, %r14d
	jb	LBB0_3
## %bb.13:
	sarl	$3, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r15), %rsi
	addq	%rbx, %rsi
	movq	%r15, %rdi
	callq	_add_offloaded_reg
	addq	$4, %rbx
	decl	%r14d
	jne	LBB0_14
LBB0_3:
	leaq	8(%r15), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	cmpl	$0, 16(%r15)
	je	LBB0_5
## %bb.4:
	movl	12(%r15), %edi
	callq	_mmc_signal_sdio_irq
	jmp	LBB0_6
LBB0_8:
	movl	44(%r15), %eax
	movq	_SD_ERROR_NO_DEVICE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_24
## %bb.9:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_check_vub300_port_status       ## TAILCALL
LBB0_24:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	incl	(%r15)
LBB0_6:
	movl	$1, 4(%r15)
LBB0_7:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
LBB0_20:
	incl	(%r15)
	movl	$0, 4(%r15)
	jmp	LBB0_7
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_22
	.long	L0_0_set_15
	.long	L0_0_set_12
	.long	L0_0_set_3
	.long	L0_0_set_8
	.end_data_region
                                        ## -- End function
	.comm	_SD_ERROR_NO_DEVICE,4,2         ## @SD_ERROR_NO_DEVICE
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	___vub300_irqpoll_response
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __vub300_irqpoll_response
___vub300_irqpoll_response:             ; @__vub300_irqpoll_response
	.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
	ldr	x8, [x0, #56]
	ldr	x8, [x8]
	cbz	x8, LBB0_19
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #32]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_19
; %bb.2:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	ldr	w8, [x19, #40]
	str	w8, [x19, #52]
	mov	x0, x19
	bl	_new_system_port_status
	ldr	w8, [x19, #48]
	cbnz	w8, LBB0_19
; %bb.4:
Lloh2:
	adrp	x8, _HZ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HZ@GOTPAGEOFF]
Lloh4:
	ldrsw	x8, [x8]
	mov	w9, #26215
	movk	w9, #26214, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	asr	x8, x8, #33
	add	w1, w8, w9
	mov	x0, x19
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	mov	w1, #1
LBB0_6:
	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	_vub300_queue_poll_work
LBB0_7:
	ldr	w8, [x19, #36]
	sub	w8, w8, #3
	cmp	w8, #8
	b.lo	LBB0_10
; %bb.8:
	mov	x20, #0
	asr	w21, w8, #3
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	sub	w21, w21, #1
	ldr	x8, [x19, #24]
	add	x1, x8, x20
	mov	x0, x19
	bl	_add_offloaded_reg
	add	x20, x20, #4
	cbnz	w21, LBB0_9
LBB0_10:
	add	x20, x19, #8
	mov	x0, x20
	bl	_mutex_lock
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_22
; %bb.11:
	ldr	w0, [x19, #12]
	bl	_mmc_signal_sdio_irq
	b	LBB0_23
LBB0_12:
	ldr	w8, [x19, #36]
	sub	w8, w8, #3
	cmp	w8, #8
	b.lo	LBB0_15
; %bb.13:
	mov	x20, #0
	asr	w21, w8, #3
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	sub	w21, w21, #1
	ldr	x8, [x19, #24]
	add	x1, x8, x20
	mov	x0, x19
	bl	_add_offloaded_reg
	add	x20, x20, #4
	cbnz	w21, LBB0_14
LBB0_15:
	add	x20, x19, #8
	mov	x0, x20
	bl	_mutex_lock
	ldr	w8, [x19, #16]
	cbz	w8, LBB0_20
; %bb.16:
	ldr	w0, [x19, #12]
	bl	_mmc_signal_sdio_irq
	b	LBB0_21
LBB0_17:
	ldr	w8, [x19, #44]
Lloh5:
	adrp	x9, _SD_ERROR_NO_DEVICE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SD_ERROR_NO_DEVICE@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_19
; %bb.18:
	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	_check_vub300_port_status
LBB0_19:
	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
	ret
LBB0_20:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_21:
	mov	w8, #1
	str	w8, [x19, #4]
	b	LBB0_24
LBB0_22:
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_23:
	str	wzr, [x19, #4]
LBB0_24:
	mov	x0, x20
	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	_mutex_unlock
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_15-LBB0_3)>>2
	.byte	(LBB0_17-LBB0_3)>>2
                                        ; -- End function
	.comm	_SD_ERROR_NO_DEVICE,4,2         ; @SD_ERROR_NO_DEVICE
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	___vub300_irqpoll_response
.subsections_via_symbols
