	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function crypt_decode_key
_crypt_decode_key:                      ## @crypt_decode_key
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movb	$0, -41(%rbp)
	testl	%edx, %edx
	je	LBB0_5
## %bb.1:
	movq	%rdi, %r14
	movl	%edx, %r13d
	addq	%r13, %r13
	xorl	%r15d, %r15d
	leaq	-56(%rbp), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx,%r15), %eax
	movb	%al, -43(%rbp)
	movzbl	1(%rbx,%r15), %eax
	movb	%al, -42(%rbp)
	leaq	-43(%rbp), %rdi
	movq	%r12, %rsi
	movl	$16, %edx
	callq	_simple_strtoul
	movq	%rax, (%r14,%r15,4)
	leaq	-41(%rbp), %rax
	cmpq	%rax, -56(%rbp)
	jne	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$2, %r15
	cmpq	%r15, %r13
	jne	LBB0_2
## %bb.4:
	addq	%r15, %rbx
LBB0_5:
	cmpb	$0, (%rbx)
	je	LBB0_6
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_6:
	xorl	%eax, %eax
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_crypt_decode_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function crypt_decode_key
_crypt_decode_key:                      ; @crypt_decode_key
	.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	x19, x1
	strb	wzr, [sp, #15]
	cbz	w2, LBB0_4
; %bb.1:
	mov	x20, x0
	add	x8, sp, #13
	add	x21, x8, #2
	mov	w22, w2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrh	w8, [x19]
	sturh	w8, [sp, #13]
	add	x0, sp, #13
	mov	x1, sp
	mov	w2, #16
	bl	_simple_strtoul
	str	x0, [x20]
	ldr	x8, [sp]
	cmp	x8, x21
	b.ne	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x19, x19, #2
	add	x20, x20, #8
	subs	x22, x22, #1
	b.ne	LBB0_2
LBB0_4:
	ldrb	w8, [x19]
	cbz	w8, LBB0_6
LBB0_5:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_crypt_decode_key
.subsections_via_symbols
