	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adf_cfg_key_val_get
_adf_cfg_key_val_get:                   ## @adf_cfg_key_val_get
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	callq	_adf_cfg_sec_find
	movl	$-1, %ebx
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_adf_cfg_key_value_find
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	(%rax), %esi
	movq	_ADF_CFG_MAX_VAL_LEN_IN_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_memcpy
	xorl	%ebx, %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADF_CFG_MAX_VAL_LEN_IN_BYTES,4,2 ## @ADF_CFG_MAX_VAL_LEN_IN_BYTES
	.no_dead_strip	_adf_cfg_key_val_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adf_cfg_key_val_get
_adf_cfg_key_val_get:                   ; @adf_cfg_key_val_get
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x3
	mov	x20, x2
	bl	_adf_cfg_sec_find
	cbz	x0, LBB0_3
; %bb.1:
	mov	x1, x20
	bl	_adf_cfg_key_value_find
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w1, [x0]
Lloh0:
	adrp	x8, _ADF_CFG_MAX_VAL_LEN_IN_BYTES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADF_CFG_MAX_VAL_LEN_IN_BYTES@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_memcpy
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	mov	w0, #-1
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ADF_CFG_MAX_VAL_LEN_IN_BYTES,4,2 ; @ADF_CFG_MAX_VAL_LEN_IN_BYTES
	.no_dead_strip	_adf_cfg_key_val_get
.subsections_via_symbols
