	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdio_single_irq_set
_sdio_single_irq_set:                   ## @sdio_single_irq_set
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	$0, 8(%rdi)
	movq	24(%rdi), %rax
	movq	_MMC_CAP_SDIO_IRQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_8
## %bb.1:
	cmpl	$1, 4(%rax)
	jne	LBB0_8
## %bb.2:
	movl	(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.3:
	movq	16(%rdi), %rcx
	xorl	%edx, %edx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rdx
	cmpq	%rdx, %rax
	je	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdx,8), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$0, (%rsi)
	je	LBB0_4
## %bb.7:
	movq	%rsi, 8(%rdi)
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMC_CAP_SDIO_IRQ,4,2           ## @MMC_CAP_SDIO_IRQ
	.no_dead_strip	_sdio_single_irq_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdio_single_irq_set
_sdio_single_irq_set:                   ; @sdio_single_irq_set
	.cfi_startproc
; %bb.0:
	str	xzr, [x0, #8]
	ldr	x8, [x0, #24]
	ldr	w9, [x8]
Lloh0:
	adrp	x10, _MMC_CAP_SDIO_IRQ@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MMC_CAP_SDIO_IRQ@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_8
; %bb.1:
	ldr	w8, [x8, #4]
	cmp	w8, #1
	b.ne	LBB0_8
; %bb.2:
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.3:
	ldr	x9, [x0, #16]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x9, x9, #8
	subs	x8, x8, #1
	b.eq	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	cbz	x10, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x11, [x10]
	cbz	x11, LBB0_4
; %bb.7:
	str	x10, [x0, #8]
LBB0_8:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MMC_CAP_SDIO_IRQ,4,2           ; @MMC_CAP_SDIO_IRQ
	.no_dead_strip	_sdio_single_irq_set
.subsections_via_symbols
