	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function requnpack
_requnpack:                             ## @requnpack
	.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	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	movq	%rdx, %rdi
	callq	_nv_get_uint8
	movl	%eax, (%r14)
	xorl	%r12d, %r12d
	cmpl	$130, %eax
	je	LBB0_28
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_3
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_nv_get_uint64
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movl	(%r14), %esi
	leal	-128(%rsi), %eax
	cmpl	$4, %eax
	ja	LBB0_25
## %bb.7:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	callq	_nv_exists
	movl	%eax, 24(%r14)
LBB0_9:
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	callq	_nv_get_uint64
	movl	%eax, 16(%r14)
	movq	%rbx, %rdi
	callq	_nv_error
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_3
LBB0_5:
	leaq	L_.str.3(%rip), %rdi
LBB0_3:
	xorl	%eax, %eax
	callq	_pjdlog_error
LBB0_27:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_28:
	movl	%r12d, 4(%r14)
	movl	%r12d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	callq	_nv_get_uint64
	movl	%eax, 20(%r14)
	movq	%rbx, %rdi
	callq	_nv_error
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_3
LBB0_25:
	leaq	L_.str.14(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
LBB0_26:
	xorl	%eax, %eax
	callq	_pjdlog_error
	jmp	LBB0_27
LBB0_13:
	movl	20(%r14), %esi
	testl	%esi, %esi
	je	LBB0_14
## %bb.15:
	cmpl	$132, (%r14)
	je	LBB0_19
## %bb.16:
	movq	_MAXPHYS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	cmpl	%edx, %esi
	jle	LBB0_19
## %bb.17:
	leaq	L_.str.10(%rip), %rdi
LBB0_18:
	xorl	%eax, %eax
	callq	_pjdlog_error
	jmp	LBB0_27
LBB0_19:
	movl	16(%r14), %ecx
	movl	(%r15), %edi
	movl	%ecx, %eax
	cltd
	idivl	%edi
	testl	%edx, %edx
	je	LBB0_21
## %bb.20:
	leaq	L_.str.11(%rip), %rdi
	movl	%ecx, %esi
	jmp	LBB0_26
LBB0_14:
	leaq	L_.str.9(%rip), %rdi
	jmp	LBB0_3
LBB0_21:
	movl	%esi, %eax
	cltd
	idivl	%edi
	testl	%edx, %edx
	je	LBB0_23
## %bb.22:
	leaq	L_.str.12(%rip), %rdi
	jmp	LBB0_26
LBB0_23:
	addl	%esi, %ecx
	movl	4(%r15), %edx
	cmpl	%edx, %ecx
	jle	LBB0_28
## %bb.24:
	leaq	L_.str.13(%rip), %rdi
	movl	%ecx, %esi
	jmp	LBB0_18
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_28
	.long	L0_0_set_28
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cmd"

L_.str.1:                               ## @.str.1
	.asciz	"Header contains no 'cmd' field."

	.comm	_EINVAL,8,3                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"seq"

L_.str.3:                               ## @.str.3
	.asciz	"Header contains no 'seq' field."

L_.str.4:                               ## @.str.4
	.asciz	"memsync"

L_.str.5:                               ## @.str.5
	.asciz	"offset"

L_.str.6:                               ## @.str.6
	.asciz	"Header is missing 'offset' field."

L_.str.7:                               ## @.str.7
	.asciz	"length"

L_.str.8:                               ## @.str.8
	.asciz	"Header is missing 'length' field."

L_.str.9:                               ## @.str.9
	.asciz	"Data length is zero."

	.comm	_MAXPHYS,4,2                    ## @MAXPHYS
L_.str.10:                              ## @.str.10
	.asciz	"Data length is too large (%ju > %ju)."

L_.str.11:                              ## @.str.11
	.asciz	"Offset %ju is not multiple of sector size."

L_.str.12:                              ## @.str.12
	.asciz	"Length %ju is not multiple of sector size."

L_.str.13:                              ## @.str.13
	.asciz	"Data offset is too large (%ju > %ju)."

L_.str.14:                              ## @.str.14
	.asciz	"Header contains invalid 'cmd' (%hhu)."

	.no_dead_strip	_requnpack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function requnpack
_requnpack:                             ; @requnpack
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x2
	bl	_nv_get_uint8
	str	w0, [x19]
	cmp	w0, #130
	b.eq	LBB0_25
; %bb.1:
	cbnz	w0, LBB0_3
; %bb.2:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_3:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_nv_get_uint64
	str	x0, [x19, #8]
	cbz	x0, LBB0_9
; %bb.4:
	ldr	w9, [x19]
	sub	w8, w9, #128
	cmp	w8, #4
	b.hi	LBB0_12
; %bb.5:
	mov	w0, #0
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_6
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_nv_exists
	str	w0, [x19, #24]
LBB0_7:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_nv_get_uint64
	str	w0, [x19, #16]
	mov	x0, x21
	bl	_nv_error
	cbz	w0, LBB0_10
; %bb.8:
Lloh12:
	adrp	x0, l_.str.6@PAGE
Lloh13:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_13
LBB0_9:
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_13
LBB0_10:
Lloh16:
	adrp	x1, l_.str.7@PAGE
Lloh17:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x21
	bl	_nv_get_uint64
	str	w0, [x19, #20]
	mov	x0, x21
	bl	_nv_error
	cbz	w0, LBB0_14
; %bb.11:
Lloh18:
	adrp	x0, l_.str.8@PAGE
Lloh19:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_13
LBB0_12:
	str	x9, [sp]
Lloh20:
	adrp	x0, l_.str.14@PAGE
Lloh21:
	add	x0, x0, l_.str.14@PAGEOFF
LBB0_13:
	bl	_pjdlog_error
Lloh22:
	adrp	x8, _EINVAL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	b	LBB0_26
LBB0_14:
	ldr	w8, [x19, #20]
	cbz	w8, LBB0_20
; %bb.15:
	ldr	w9, [x19]
	cmp	w9, #132
	b.eq	LBB0_18
; %bb.16:
Lloh25:
	adrp	x9, _MAXPHYS@GOTPAGE
Lloh26:
	ldr	x9, [x9, _MAXPHYS@GOTPAGEOFF]
Lloh27:
	ldr	w9, [x9]
	cmp	w8, w9
	b.le	LBB0_18
; %bb.17:
	stp	x8, x9, [sp]
Lloh28:
	adrp	x0, l_.str.10@PAGE
Lloh29:
	add	x0, x0, l_.str.10@PAGEOFF
	b	LBB0_13
LBB0_18:
	ldr	w9, [x19, #16]
	ldr	w10, [x20]
	sdiv	w11, w9, w10
	msub	w11, w11, w10, w9
	cbz	w11, LBB0_21
; %bb.19:
	str	x9, [sp]
Lloh30:
	adrp	x0, l_.str.11@PAGE
Lloh31:
	add	x0, x0, l_.str.11@PAGEOFF
	b	LBB0_13
LBB0_20:
Lloh32:
	adrp	x0, l_.str.9@PAGE
Lloh33:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_13
LBB0_21:
	sdiv	w11, w8, w10
	msub	w10, w11, w10, w8
	cbz	w10, LBB0_23
; %bb.22:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp]
Lloh34:
	adrp	x0, l_.str.12@PAGE
Lloh35:
	add	x0, x0, l_.str.12@PAGEOFF
	b	LBB0_13
LBB0_23:
	ldr	w10, [x20, #4]
	add	w8, w9, w8
	cmp	w8, w10
	b.le	LBB0_25
; %bb.24:
	stp	x8, x10, [sp]
Lloh36:
	adrp	x0, l_.str.13@PAGE
Lloh37:
	add	x0, x0, l_.str.13@PAGEOFF
	b	LBB0_13
LBB0_25:
	mov	w0, #0
LBB0_26:
	str	w0, [x19, #4]
	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	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_6)>>2
	.byte	(LBB0_7-LBB0_6)>>2
	.byte	(LBB0_26-LBB0_6)>>2
	.byte	(LBB0_26-LBB0_6)>>2
	.byte	(LBB0_7-LBB0_6)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cmd"

l_.str.1:                               ; @.str.1
	.asciz	"Header contains no 'cmd' field."

	.comm	_EINVAL,8,3                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"seq"

l_.str.3:                               ; @.str.3
	.asciz	"Header contains no 'seq' field."

l_.str.4:                               ; @.str.4
	.asciz	"memsync"

l_.str.5:                               ; @.str.5
	.asciz	"offset"

l_.str.6:                               ; @.str.6
	.asciz	"Header is missing 'offset' field."

l_.str.7:                               ; @.str.7
	.asciz	"length"

l_.str.8:                               ; @.str.8
	.asciz	"Header is missing 'length' field."

l_.str.9:                               ; @.str.9
	.asciz	"Data length is zero."

	.comm	_MAXPHYS,4,2                    ; @MAXPHYS
l_.str.10:                              ; @.str.10
	.asciz	"Data length is too large (%ju > %ju)."

l_.str.11:                              ; @.str.11
	.asciz	"Offset %ju is not multiple of sector size."

l_.str.12:                              ; @.str.12
	.asciz	"Length %ju is not multiple of sector size."

l_.str.13:                              ; @.str.13
	.asciz	"Data offset is too large (%ju > %ju)."

l_.str.14:                              ; @.str.14
	.asciz	"Header contains invalid 'cmd' (%hhu)."

	.no_dead_strip	_requnpack
.subsections_via_symbols
