	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vhba_set_status                ## -- Begin function vhba_set_status
	.p2align	4, 0x90
_vhba_set_status:                       ## @vhba_set_status
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_CAM_STATUS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	(%rdi), %eax
	orl	%esi, %eax
	movl	%eax, (%rdi)
	movq	_CAM_REQ_CMP@GOTPCREL(%rip), %rcx
	cmpl	%esi, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_CAM_DEV_QFRZN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_3
LBB0_2:
	popq	%rbp
	retq
LBB0_3:
	orl	%eax, %ecx
	movl	%ecx, (%rdi)
	movl	4(%rdi), %edi
	movl	$1, %esi
	popq	%rbp
	jmp	_xpt_freeze_devq                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CAM_STATUS_MASK,4,2            ## @CAM_STATUS_MASK
	.comm	_CAM_REQ_CMP,4,2                ## @CAM_REQ_CMP
	.comm	_CAM_DEV_QFRZN,4,2              ## @CAM_DEV_QFRZN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vhba_set_status                ; -- Begin function vhba_set_status
	.p2align	2
_vhba_set_status:                       ; @vhba_set_status
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _CAM_STATUS_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CAM_STATUS_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x0]
	bic	w8, w9, w8
	orr	w8, w8, w1
	str	w8, [x0]
Lloh3:
	adrp	x9, _CAM_REQ_CMP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CAM_REQ_CMP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w9, w1
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x9, _CAM_DEV_QFRZN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CAM_DEV_QFRZN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
LBB0_2:
	ret
LBB0_3:
	orr	w8, w9, w8
	str	w8, [x0]
	ldr	w0, [x0, #4]
	mov	w1, #1
	b	_xpt_freeze_devq
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CAM_STATUS_MASK,4,2            ; @CAM_STATUS_MASK
	.comm	_CAM_REQ_CMP,4,2                ; @CAM_REQ_CMP
	.comm	_CAM_DEV_QFRZN,4,2              ; @CAM_DEV_QFRZN
.subsections_via_symbols
