	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usdhi6_wait_for_brwe
_usdhi6_wait_for_brwe:                  ## @usdhi6_wait_for_brwe
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	movq	_USDHI6_SD_INFO1_ACCESS_END@GOTPCREL(%rip), %rcx
	movq	_USDHI6_SD_INFO1_CARD_CD@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	orl	(%rcx), %esi
	movq	_USDHI6_SD_INFO2_ERR@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	jne	LBB0_1
## %bb.2:
	movq	_USDHI6_SD_INFO2_BWE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_USDHI6_SD_INFO2_BRE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edx
	orl	(%rcx), %edx
	popq	%rbp
	jmp	_usdhi6_irq_enable              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_USDHI6_SD_INFO1_ACCESS_END,4,2 ## @USDHI6_SD_INFO1_ACCESS_END
	.comm	_USDHI6_SD_INFO1_CARD_CD,4,2    ## @USDHI6_SD_INFO1_CARD_CD
	.comm	_USDHI6_SD_INFO2_ERR,4,2        ## @USDHI6_SD_INFO2_ERR
	.comm	_USDHI6_SD_INFO2_BRE,4,2        ## @USDHI6_SD_INFO2_BRE
	.comm	_USDHI6_SD_INFO2_BWE,4,2        ## @USDHI6_SD_INFO2_BWE
	.no_dead_strip	_usdhi6_wait_for_brwe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function usdhi6_wait_for_brwe
_usdhi6_wait_for_brwe:                  ; @usdhi6_wait_for_brwe
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _USDHI6_SD_INFO1_ACCESS_END@GOTPAGE
Lloh1:
	ldr	x8, [x8, _USDHI6_SD_INFO1_ACCESS_END@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _USDHI6_SD_INFO1_CARD_CD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _USDHI6_SD_INFO1_CARD_CD@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _USDHI6_SD_INFO2_ERR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _USDHI6_SD_INFO2_ERR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _USDHI6_SD_INFO2_BRE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _USDHI6_SD_INFO2_BRE@GOTPAGEOFF]
Lloh11:
	adrp	x11, _USDHI6_SD_INFO2_BWE@GOTPAGE
Lloh12:
	ldr	x11, [x11, _USDHI6_SD_INFO2_BWE@GOTPAGEOFF]
	cmp	w1, #0
	csel	x10, x11, x10, eq
	ldr	w10, [x10]
	orr	w2, w10, w9
	mov	x1, x8
	b	_usdhi6_irq_enable
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_USDHI6_SD_INFO1_ACCESS_END,4,2 ; @USDHI6_SD_INFO1_ACCESS_END
	.comm	_USDHI6_SD_INFO1_CARD_CD,4,2    ; @USDHI6_SD_INFO1_CARD_CD
	.comm	_USDHI6_SD_INFO2_ERR,4,2        ; @USDHI6_SD_INFO2_ERR
	.comm	_USDHI6_SD_INFO2_BRE,4,2        ; @USDHI6_SD_INFO2_BRE
	.comm	_USDHI6_SD_INFO2_BWE,4,2        ; @USDHI6_SD_INFO2_BWE
	.no_dead_strip	_usdhi6_wait_for_brwe
.subsections_via_symbols
