	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rsu_status_callback
_rsu_status_callback:                   ## @rsu_status_callback
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rbx
	movq	(%rsi), %r12
	movq	8(%rsi), %r15
	movq	_SVC_STATUS_RSU_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	cmpq	%rax, %r12
	jne	LBB0_2
## %bb.1:
	movq	_RSU_VERSION_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	24(%r15), %esi
	callq	_FIELD_GET
	movq	%rax, 48(%rbx)
	movq	_RSU_STATE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	24(%r15), %esi
	callq	_FIELD_GET
	movq	%rax, 40(%rbx)
	movq	16(%r15), %rax
	movq	%rax, 32(%rbx)
	movq	(%r15), %rax
	movq	%rax, 24(%rbx)
	movq	_RSU_ERROR_LOCATION_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r15), %esi
	callq	_FIELD_GET
	movq	%rax, 16(%rbx)
	movq	_RSU_ERROR_DETAIL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%r15), %esi
	callq	_FIELD_GET
	jmp	LBB0_3
LBB0_2:
	movl	(%r14), %edi
	movq	(%r15), %rdx
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rbx)
	movups	%xmm0, 32(%rbx)
	movq	$0, 48(%rbx)
	xorl	%eax, %eax
LBB0_3:
	movq	%rax, 8(%rbx)
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_complete                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SVC_STATUS_RSU_OK,4,2          ## @SVC_STATUS_RSU_OK
	.comm	_RSU_VERSION_MASK,4,2           ## @RSU_VERSION_MASK
	.comm	_RSU_STATE_MASK,4,2             ## @RSU_STATE_MASK
	.comm	_RSU_ERROR_LOCATION_MASK,4,2    ## @RSU_ERROR_LOCATION_MASK
	.comm	_RSU_ERROR_DETAIL_MASK,4,2      ## @RSU_ERROR_DETAIL_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"COMMAND_RSU_STATUS returned 0x%lX\n"

	.no_dead_strip	_rsu_status_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rsu_status_callback
_rsu_status_callback:                   ; @rsu_status_callback
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x0
	ldr	x19, [x0, #8]
	ldp	x22, x21, [x1]
Lloh0:
	adrp	x8, _SVC_STATUS_RSU_OK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SVC_STATUS_RSU_OK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_BIT
	cmp	x22, x0
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _RSU_VERSION_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RSU_VERSION_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x21, #24]
	bl	_FIELD_GET
	str	x0, [x19, #48]
Lloh6:
	adrp	x8, _RSU_STATE_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RSU_STATE_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w1, [x21, #24]
	bl	_FIELD_GET
	str	x0, [x19, #40]
	ldr	x8, [x21, #16]
	ldr	x9, [x21]
	stp	x9, x8, [x19, #24]
Lloh9:
	adrp	x8, _RSU_ERROR_LOCATION_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RSU_ERROR_LOCATION_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ldr	w1, [x21, #8]
	bl	_FIELD_GET
	str	x0, [x19, #16]
Lloh12:
	adrp	x8, _RSU_ERROR_DETAIL_MASK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RSU_ERROR_DETAIL_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	w1, [x21, #8]
	bl	_FIELD_GET
	b	LBB0_3
LBB0_2:
	ldr	w0, [x20]
	ldr	x2, [x21]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	mov	x0, #0
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x19, #16]
	str	xzr, [x19, #48]
LBB0_3:
	str	x0, [x19, #8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_complete
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_SVC_STATUS_RSU_OK,4,2          ; @SVC_STATUS_RSU_OK
	.comm	_RSU_VERSION_MASK,4,2           ; @RSU_VERSION_MASK
	.comm	_RSU_STATE_MASK,4,2             ; @RSU_STATE_MASK
	.comm	_RSU_ERROR_LOCATION_MASK,4,2    ; @RSU_ERROR_LOCATION_MASK
	.comm	_RSU_ERROR_DETAIL_MASK,4,2      ; @RSU_ERROR_DETAIL_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"COMMAND_RSU_STATUS returned 0x%lX\n"

	.no_dead_strip	_rsu_status_callback
.subsections_via_symbols
