	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_sdiod_intr_unregister    ## -- Begin function brcmf_sdiod_intr_unregister
	.p2align	4, 0x90
_brcmf_sdiod_intr_unregister:           ## @brcmf_sdiod_intr_unregister
	.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
	movq	_SDIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%rbx), %edx
	movl	4(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	callq	_brcmf_dbg
	cmpl	$0, (%rbx)
	je	LBB0_4
## %bb.1:
	movq	16(%rbx), %rdi
	movq	32(%rbx), %r14
	callq	_sdio_claim_host
	movq	_SDIO_CCCR_BRCM_SEPINT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_brcmf_sdiod_func0_wb
	movq	_SDIO_CCCR_IENx@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_brcmf_sdiod_func0_wb
	movq	16(%rbx), %rdi
	callq	_sdio_release_host
	movl	$0, (%rbx)
	cmpl	$0, 8(%rbx)
	je	LBB0_3
## %bb.2:
	movl	(%r14), %edi
	callq	_disable_irq_wake
	movl	$0, 8(%rbx)
LBB0_3:
	movl	(%r14), %edi
	movq	16(%rbx), %rsi
	callq	_free_irq
	movl	$0, 12(%rbx)
	movl	$0, (%rbx)
LBB0_4:
	cmpl	$0, 4(%rbx)
	je	LBB0_6
## %bb.5:
	movq	16(%rbx), %rdi
	callq	_sdio_claim_host
	movq	24(%rbx), %rdi
	callq	_sdio_release_irq
	movq	16(%rbx), %rdi
	callq	_sdio_release_irq
	movq	16(%rbx), %rdi
	callq	_sdio_release_host
	movl	$0, 4(%rbx)
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SDIO,4,2                       ## @SDIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Entering oob=%d sd=%d\n"

	.comm	_SDIO_CCCR_BRCM_SEPINT,4,2      ## @SDIO_CCCR_BRCM_SEPINT
	.comm	_SDIO_CCCR_IENx,4,2             ## @SDIO_CCCR_IENx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_sdiod_intr_unregister    ; -- Begin function brcmf_sdiod_intr_unregister
	.p2align	2
_brcmf_sdiod_intr_unregister:           ; @brcmf_sdiod_intr_unregister
	.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	x19, x0
Lloh0:
	adrp	x8, _SDIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SDIO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	w2, w3, [x19]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_brcmf_dbg
	ldr	w8, [x19]
	cbz	w8, LBB0_4
; %bb.1:
	ldr	x20, [x19, #32]
	ldr	x0, [x19, #16]
	bl	_sdio_claim_host
Lloh5:
	adrp	x8, _SDIO_CCCR_BRCM_SEPINT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SDIO_CCCR_BRCM_SEPINT@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	x3, #0
	bl	_brcmf_sdiod_func0_wb
Lloh8:
	adrp	x8, _SDIO_CCCR_IENx@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SDIO_CCCR_IENx@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	mov	x3, #0
	bl	_brcmf_sdiod_func0_wb
	ldr	x0, [x19, #16]
	bl	_sdio_release_host
	str	wzr, [x19]
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_3
; %bb.2:
	ldr	w0, [x20]
	bl	_disable_irq_wake
	str	wzr, [x19, #8]
LBB0_3:
	ldr	w0, [x20]
	ldr	x1, [x19, #16]
	bl	_free_irq
	str	wzr, [x19, #12]
	str	wzr, [x19]
LBB0_4:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_6
; %bb.5:
	ldr	x0, [x19, #16]
	bl	_sdio_claim_host
	ldr	x0, [x19, #24]
	bl	_sdio_release_irq
	ldr	x0, [x19, #16]
	bl	_sdio_release_irq
	ldr	x0, [x19, #16]
	bl	_sdio_release_host
	str	wzr, [x19, #4]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SDIO,4,2                       ; @SDIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Entering oob=%d sd=%d\n"

	.comm	_SDIO_CCCR_BRCM_SEPINT,4,2      ; @SDIO_CCCR_BRCM_SEPINT
	.comm	_SDIO_CCCR_IENx,4,2             ; @SDIO_CCCR_IENx
.subsections_via_symbols
