	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_field_string
_get_field_string:                      ## @get_field_string
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r13
	movl	(%r8), %ecx
	leaq	-44(%rbp), %r8
	callq	_SetupGetStringFieldW
	testq	%rax, %rax
	jne	LBB0_9
## %bb.1:
	xorl	%eax, %eax
	callq	_GetLastError
	movq	_ERROR_INSUFFICIENT_BUFFER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.2:
	cmpq	%r14, %rbx
	je	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_HeapFree
LBB0_4:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	-44(%rbp), %edx
	shll	$2, %edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%rax, %rbx
	movl	-44(%rbp), %ecx
	movl	%ecx, (%r12)
	leaq	-44(%rbp), %r8
	movq	%r13, %rdi
	movl	%r15d, %esi
	movq	%rax, %rdx
	callq	_SetupGetStringFieldW
	testq	%rax, %rax
	jne	LBB0_9
LBB0_6:
	cmpq	%r14, %rbx
	je	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_HeapFree
LBB0_8:
	xorl	%ebx, %ebx
LBB0_9:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR_INSUFFICIENT_BUFFER,8,3  ## @ERROR_INSUFFICIENT_BUFFER
	.no_dead_strip	_get_field_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_field_string
_get_field_string:                      ; @get_field_string
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x4
	mov	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	ldr	w3, [x4]
	add	x4, sp, #12
	bl	_SetupGetStringFieldW
	cbnz	x0, LBB0_9
; %bb.1:
	bl	_GetLastError
Lloh0:
	adrp	x8, _ERROR_INSUFFICIENT_BUFFER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR_INSUFFICIENT_BUFFER@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.2:
	cmp	x19, x20
	b.eq	LBB0_4
; %bb.3:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x19
	bl	_HeapFree
LBB0_4:
	bl	_GetProcessHeap
	ldr	w8, [sp, #12]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_HeapAlloc
	mov	x19, x0
	cbz	x0, LBB0_9
; %bb.5:
	ldr	w3, [sp, #12]
	str	w3, [x23]
	add	x4, sp, #12
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	bl	_SetupGetStringFieldW
	cbnz	x0, LBB0_9
LBB0_6:
	cmp	x19, x20
	b.eq	LBB0_8
; %bb.7:
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x19
	bl	_HeapFree
LBB0_8:
	mov	x19, #0
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR_INSUFFICIENT_BUFFER,8,3  ; @ERROR_INSUFFICIENT_BUFFER
	.no_dead_strip	_get_field_string
.subsections_via_symbols
