	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function libworker_fillup_fg
_libworker_fillup_fg:                   ## @libworker_fillup_fg
	.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
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movl	%esi, %r12d
	movq	%rdi, %rbx
	movq	16(%rdi), %rcx
	movl	%r9d, (%rcx)
	testq	%r8, %r8
	je	LBB0_2
## %bb.1:
	movq	%r8, %rdi
	callq	_strdup
	movq	16(%rbx), %rcx
	movl	%eax, 8(%rcx)
LBB0_2:
	testl	%r12d, %r12d
	je	LBB0_4
## %bb.3:
	movl	%r12d, 4(%rcx)
	movl	%r14d, (%rbx)
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_LDNS_RCODE_SERVFAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rcx)
	movl	$0, (%rbx)
	movq	%r15, %rdi
	callq	_sldns_buffer_begin
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_sldns_buffer_limit
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_memdup
	movl	%eax, 24(%rbx)
	movq	%r15, %rdi
	callq	_sldns_buffer_limit
	movl	%eax, 28(%rbx)
	cmpl	$0, 24(%rbx)
	je	LBB0_5
## %bb.6:
	movl	%r14d, (%rbx)
	movq	8(%rbx), %rax
	movq	16(%rbx), %rdi
	movq	(%rax), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	movl	%r14d, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_libworker_enter_result         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RCODE_SERVFAIL,4,2        ## @LDNS_RCODE_SERVFAIL
	.no_dead_strip	_libworker_fillup_fg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function libworker_fillup_fg
_libworker_fillup_fg:                   ; @libworker_fillup_fg
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	ldr	x8, [x0, #16]
	str	w5, [x8]
	cbz	x4, LBB0_2
; %bb.1:
	mov	x0, x4
	bl	_strdup
	ldr	x8, [x21, #16]
	str	w0, [x8, #8]
LBB0_2:
	cbz	w22, LBB0_5
; %bb.3:
	str	w22, [x8, #4]
	str	w19, [x21]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh0:
	adrp	x9, _LDNS_RCODE_SERVFAIL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LDNS_RCODE_SERVFAIL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [x8, #4]
	str	wzr, [x21]
	mov	x0, x20
	bl	_sldns_buffer_begin
	mov	x22, x0
	mov	x0, x20
	bl	_sldns_buffer_limit
	mov	x1, x0
	mov	x0, x22
	bl	_memdup
	str	w0, [x21, #24]
	mov	x0, x20
	bl	_sldns_buffer_limit
	str	w0, [x21, #28]
	ldr	w8, [x21, #24]
	cbz	w8, LBB0_4
; %bb.6:
	str	w19, [x21]
	ldp	x8, x0, [x21, #8]
	ldr	x8, [x8]
	ldr	w2, [x8]
	mov	x1, x20
	mov	x3, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_libworker_enter_result
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RCODE_SERVFAIL,4,2        ; @LDNS_RCODE_SERVFAIL
	.no_dead_strip	_libworker_fillup_fg
.subsections_via_symbols
