	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function btmrvl_sdio_enable_host_int_mask
_btmrvl_sdio_enable_host_int_mask:      ## @btmrvl_sdio_enable_host_int_mask
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movl	(%rdi), %edi
	movq	_HOST_INT_MASK_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-4(%rbp), %rcx
	callq	_sdio_writeb
	cmpl	$0, -4(%rbp)
	je	LBB0_1
## %bb.2:
	leaq	L_.str(%rip), %rdi
	callq	_BT_ERR
	movq	_EIO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HOST_INT_MASK_REG,4,2          ## @HOST_INT_MASK_REG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to enable the host interrupt!"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_btmrvl_sdio_enable_host_int_mask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function btmrvl_sdio_enable_host_int_mask
_btmrvl_sdio_enable_host_int_mask:      ; @btmrvl_sdio_enable_host_int_mask
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _HOST_INT_MASK_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HOST_INT_MASK_REG@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	sub	x3, x29, #4
	bl	_sdio_writeb
	ldur	w8, [x29, #-4]
	cbz	w8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_BT_ERR
Lloh5:
	adrp	x8, _EIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_HOST_INT_MASK_REG,4,2          ; @HOST_INT_MASK_REG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to enable the host interrupt!"

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_btmrvl_sdio_enable_host_int_mask
.subsections_via_symbols
