	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2400ms_rx_release             ## -- Begin function i2400ms_rx_release
	.p2align	4, 0x90
_i2400ms_rx_release:                    ## @i2400ms_rx_release
	.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	%rdi, %r14
	movq	16(%rdi), %rbx
	leaq	L_.str(%rip), %rdx
	movl	$5, %edi
	movq	%rbx, %rsi
	movq	%r14, %rcx
	callq	_d_fnstart
	leaq	8(%r14), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	movq	_EINTR@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movl	%ecx, 4(%r14)
	movq	%r15, %rdi
	callq	_spin_unlock
	movq	%r14, %rdi
	callq	_wake_up_all
	movq	%rbx, %rdi
	callq	_sdio_claim_host
	movq	_I2400MS_INTR_ENABLE_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-28(%rbp), %rcx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_sdio_writeb
	movq	%rbx, %rdi
	callq	_sdio_release_irq
	movq	%rbx, %rdi
	callq	_sdio_release_host
	movl	-28(%rbp), %r8d
	leaq	L_.str.1(%rip), %rdx
	movl	$5, %edi
	movq	%rbx, %rsi
	movq	%r14, %rcx
	callq	_d_fnend
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(i2400ms %p)\n"

	.comm	_EINTR,4,2                      ## @EINTR
	.comm	_I2400MS_INTR_ENABLE_ADDR,4,2   ## @I2400MS_INTR_ENABLE_ADDR
L_.str.1:                               ## @.str.1
	.asciz	"(i2400ms %p) = %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2400ms_rx_release             ; -- Begin function i2400ms_rx_release
	.p2align	2
_i2400ms_rx_release:                    ; @i2400ms_rx_release
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x20, [x0, #16]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	w0, #5
	mov	x1, x20
	mov	x3, x19
	bl	_d_fnstart
	add	x21, x19, #8
	mov	x0, x21
	bl	_spin_lock
Lloh2:
	adrp	x8, _EINTR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINTR@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w8, w8
	str	w8, [x19, #4]
	mov	x0, x21
	bl	_spin_unlock
	mov	x0, x19
	bl	_wake_up_all
	mov	x0, x20
	bl	_sdio_claim_host
Lloh5:
	adrp	x8, _I2400MS_INTR_ENABLE_ADDR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _I2400MS_INTR_ENABLE_ADDR@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	x0, x20
	mov	w1, #0
	bl	_sdio_writeb
	mov	x0, x20
	bl	_sdio_release_irq
	mov	x0, x20
	bl	_sdio_release_host
	ldr	w4, [sp, #12]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w0, #5
	mov	x1, x20
	mov	x3, x19
	bl	_d_fnend
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(i2400ms %p)\n"

	.comm	_EINTR,4,2                      ; @EINTR
	.comm	_I2400MS_INTR_ENABLE_ADDR,4,2   ; @I2400MS_INTR_ENABLE_ADDR
l_.str.1:                               ; @.str.1
	.asciz	"(i2400ms %p) = %d\n"

.subsections_via_symbols
