	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdio_irq_thread
_sdio_irq_thread:                       ## @sdio_irq_thread
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movl	$1, -48(%rbp)
	movq	_current@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SCHED_FIFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	callq	_sched_setscheduler
	movl	$10, %edi
	callq	_msecs_to_jiffies
	movq	%rax, %r15
	movq	_MMC_CAP_SDIO_IRQ@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	andl	(%r12), %eax
	je	LBB0_2
## %bb.1:
	movq	_MAX_SCHEDULE_TIMEOUT@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
LBB0_2:
	movq	%r12, %rdi
	callq	_mmc_hostname
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	movl	%r15d, %edx
	callq	_pr_debug
	leaq	16(%r12), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_TASK_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_set_current_state
	xorl	%eax, %eax
	callq	_kthread_should_stop
	testl	%eax, %eax
	jne	LBB0_18
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	%r13, %rdx
	callq	___mmc_claim_host
	testl	%eax, %eax
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	callq	_process_sdio_pending_irqs
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_mmc_release_host
	testl	%ebx, %ebx
	jns	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_TASK_INTERRUPTIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_set_current_state
	xorl	%eax, %eax
	callq	_kthread_should_stop
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_HZ@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_schedule_timeout
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_TASK_RUNNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_set_current_state
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14), %eax
	testl	%eax, (%r12)
	jne	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	testl	%ebx, %ebx
	jle	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	shrq	%r15
	jmp	LBB0_13
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, %r15
	cmovaeq	%rax, %r15
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_TASK_INTERRUPTIBLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_set_current_state
	movl	(%r14), %eax
	testl	%eax, (%r12)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r12), %rax
	movq	%r12, %rdi
	movl	$1, %esi
	callq	*(%rax)
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_kthread_should_stop
	testl	%eax, %eax
	jne	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%r15, %rdi
	callq	_schedule_timeout
	jmp	LBB0_17
LBB0_4:
	movl	%eax, %ebx
LBB0_18:
	movl	(%r14), %eax
	testl	%eax, (%r12)
	je	LBB0_20
## %bb.19:
	movq	8(%r12), %rax
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	*(%rax)
LBB0_20:
	movq	%r12, %rdi
	callq	_mmc_hostname
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_pr_debug
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current,4,2                    ## @current
	.comm	_SCHED_FIFO,4,2                 ## @SCHED_FIFO
	.comm	_MMC_CAP_SDIO_IRQ,4,2           ## @MMC_CAP_SDIO_IRQ
	.comm	_MAX_SCHEDULE_TIMEOUT,8,3       ## @MAX_SCHEDULE_TIMEOUT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: IRQ thread started (poll period = %lu jiffies)\n"

	.comm	_TASK_INTERRUPTIBLE,4,2         ## @TASK_INTERRUPTIBLE
	.comm	_HZ,8,3                         ## @HZ
	.comm	_TASK_RUNNING,4,2               ## @TASK_RUNNING
L_.str.1:                               ## @.str.1
	.asciz	"%s: IRQ thread exiting with code %d\n"

	.no_dead_strip	_sdio_irq_thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdio_irq_thread
_sdio_irq_thread:                       ; @sdio_irq_thread
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	mov	w8, #1
	str	w8, [sp, #8]
Lloh0:
	adrp	x8, _current@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SCHED_FIFO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SCHED_FIFO@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_sched_setscheduler
	mov	w0, #10
	bl	_msecs_to_jiffies
	mov	x20, x0
	mov	x21, x19
	ldr	w8, [x21], #16
Lloh6:
	adrp	x24, _MMC_CAP_SDIO_IRQ@GOTPAGE
Lloh7:
	ldr	x24, [x24, _MMC_CAP_SDIO_IRQ@GOTPAGEOFF]
	ldr	w9, [x24]
Lloh8:
	adrp	x10, _MAX_SCHEDULE_TIMEOUT@GOTPAGE
Lloh9:
	ldr	x10, [x10, _MAX_SCHEDULE_TIMEOUT@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	tst	w9, w8
	csel	x23, x0, x10, eq
	mov	x0, x19
	bl	_mmc_hostname
	mov	x1, x0
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x23
	bl	_pr_debug
Lloh13:
	adrp	x25, _TASK_INTERRUPTIBLE@GOTPAGE
Lloh14:
	ldr	x25, [x25, _TASK_INTERRUPTIBLE@GOTPAGEOFF]
Lloh15:
	adrp	x26, _HZ@GOTPAGE
Lloh16:
	ldr	x26, [x26, _HZ@GOTPAGEOFF]
Lloh17:
	adrp	x27, _TASK_RUNNING@GOTPAGE
Lloh18:
	ldr	x27, [x27, _TASK_RUNNING@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x27]
	bl	_set_current_state
	bl	_kthread_should_stop
	cbnz	w0, LBB0_16
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, #0
	mov	x2, x21
	bl	___mmc_claim_host
	cbnz	w0, LBB0_15
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	bl	_process_sdio_pending_irqs
	mov	x22, x0
	mov	x0, x19
	bl	_mmc_release_host
	tbz	w22, #31, LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x25]
	bl	_set_current_state
	bl	_kthread_should_stop
	cbnz	w0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x26]
	bl	_schedule_timeout
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x27]
	bl	_set_current_state
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x19]
	ldr	w9, [x24]
	tst	w9, w8
	b.ne	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w22, #1
	b.lt	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	lsr	x23, x23, #1
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x23, #1
	cmp	x8, x20
	csinc	x23, x20, x23, hs
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x25]
	bl	_set_current_state
	ldr	w8, [x19]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	mov	x0, x19
	mov	w1, #1
	blr	x8
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
	bl	_kthread_should_stop
	cbnz	w0, LBB0_1
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x23
	bl	_schedule_timeout
	b	LBB0_1
LBB0_15:
	mov	x22, x0
LBB0_16:
	ldr	w8, [x19]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.17:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	mov	x0, x19
	mov	w1, #0
	blr	x8
LBB0_18:
	mov	x0, x19
	bl	_mmc_hostname
	mov	x1, x0
Lloh19:
	adrp	x0, l_.str.1@PAGE
Lloh20:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x2, x22
	bl	_pr_debug
	mov	x0, x22
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_current,4,2                    ; @current
	.comm	_SCHED_FIFO,4,2                 ; @SCHED_FIFO
	.comm	_MMC_CAP_SDIO_IRQ,4,2           ; @MMC_CAP_SDIO_IRQ
	.comm	_MAX_SCHEDULE_TIMEOUT,8,3       ; @MAX_SCHEDULE_TIMEOUT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: IRQ thread started (poll period = %lu jiffies)\n"

	.comm	_TASK_INTERRUPTIBLE,4,2         ; @TASK_INTERRUPTIBLE
	.comm	_HZ,8,3                         ; @HZ
	.comm	_TASK_RUNNING,4,2               ; @TASK_RUNNING
l_.str.1:                               ; @.str.1
	.asciz	"%s: IRQ thread exiting with code %d\n"

	.no_dead_strip	_sdio_irq_thread
.subsections_via_symbols
