	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vpd_decode_len
_vpd_decode_len:                        ## @vpd_decode_len
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	movq	_VPD_FAIL@GOTPCREL(%rip), %r8
	testq	%rdx, %rdx
	je	LBB0_6
## %bb.1:
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.2:
	movl	$0, (%rdx)
	xorl	%r11d, %r11d
	testl	%edi, %edi
	cmovlel	%r11d, %edi
	xorl	%r9d, %r9d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r9, %rdi
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	shll	$7, %r11d
	movzbl	(%rsi,%r9,4), %r10d
	movl	%r11d, (%rdx)
	movl	(%rsi,%r9,4), %eax
	andl	$127, %eax
	orl	%eax, %r11d
	incq	%r9
	movl	%r11d, (%rdx)
	testb	$-128, %r10b
	jne	LBB0_3
## %bb.5:
	movl	%r9d, (%rcx)
	movq	_VPD_OK@GOTPCREL(%rip), %r8
LBB0_6:
	movl	(%r8), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VPD_FAIL,4,2                   ## @VPD_FAIL
	.comm	_VPD_OK,4,2                     ## @VPD_OK
	.no_dead_strip	_vpd_decode_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vpd_decode_len
_vpd_decode_len:                        ; @vpd_decode_len
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _VPD_FAIL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VPD_FAIL@GOTPAGEOFF]
	cbz	x2, LBB0_6
; %bb.1:
	cbz	x3, LBB0_6
; %bb.2:
	mov	w10, #0
	mov	x9, #0
	str	wzr, [x2]
	cmp	w0, #0
	csel	w11, w0, wzr, gt
Lloh2:
	adrp	x8, _VPD_FAIL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VPD_FAIL@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x11, x9
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	lsl	x12, x9, #2
	ldr	w13, [x1, x12]
	lsl	w10, w10, #7
	str	w10, [x2]
	ldr	w12, [x1, x12]
	bfxil	w10, w12, #0, #7
	str	w10, [x2]
	add	x9, x9, #1
	tbnz	w13, #7, LBB0_3
; %bb.5:
	str	w9, [x3]
Lloh4:
	adrp	x8, _VPD_OK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _VPD_OK@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_VPD_FAIL,4,2                   ; @VPD_FAIL
	.comm	_VPD_OK,4,2                     ; @VPD_OK
	.no_dead_strip	_vpd_decode_len
.subsections_via_symbols
