	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function auth_error_encode
_auth_error_encode:                     ## @auth_error_encode
	.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	%r9, %r10
	movq	%r8, %r14
	movq	%rcx, %rax
	movq	%rdx, %rbx
	movq	%rdi, %r15
	movl	16(%rbp), %r12d
	movq	_EDNS_ADVERTISED_VERSION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 28(%rdx)
	movq	_EDNS_ADVERTISED_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 24(%rdx)
	movq	$0, 16(%rdx)
	movq	_EDNS_DO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%ecx, 8(%rdx)
	movq	%rsi, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	%r12d, %r8d
	movq	%rbx, %r9
	pushq	%r10
	pushq	%rax
	callq	_inplace_cb_reply_local_call
	addq	$16, %rsp
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	$0, (%rbx)
LBB0_2:
	movq	_BIT_AA@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	%r14, %rdi
	callq	_sldns_buffer_begin
	movl	(%rax), %r13d
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_sldns_buffer_read_u16_at
	movq	%r14, %rdi
	movl	%r12d, %esi
	movq	%r15, %rdx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	movq	%rbx, %r9
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error_encode                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EDNS_ADVERTISED_VERSION,4,2    ## @EDNS_ADVERTISED_VERSION
	.comm	_EDNS_ADVERTISED_SIZE,4,2       ## @EDNS_ADVERTISED_SIZE
	.comm	_EDNS_DO,4,2                    ## @EDNS_DO
	.comm	_BIT_AA,4,2                     ## @BIT_AA
	.no_dead_strip	_auth_error_encode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function auth_error_encode
_auth_error_encode:                     ; @auth_error_encode
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x6
	mov	x7, x5
	mov	x20, x4
	mov	x6, x3
	mov	x19, x2
	mov	x21, x0
Lloh0:
	adrp	x8, _EDNS_ADVERTISED_VERSION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EDNS_ADVERTISED_VERSION@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _EDNS_ADVERTISED_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EDNS_ADVERTISED_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [x2, #24]
	str	xzr, [x2, #16]
Lloh6:
	adrp	x8, _EDNS_DO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EDNS_DO@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x2, #8]
	and	w8, w9, w8
	str	w8, [x2, #8]
	mov	x0, x1
	mov	x1, x21
	mov	x2, #0
	mov	x3, #0
	mov	x4, x22
	mov	x5, x19
	bl	_inplace_cb_reply_local_call
	cbnz	w0, LBB0_2
; %bb.1:
	str	xzr, [x19]
LBB0_2:
Lloh9:
	adrp	x8, _BIT_AA@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BIT_AA@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	orr	w22, w8, w22
	mov	x0, x20
	bl	_sldns_buffer_begin
	ldr	w23, [x0]
	mov	x0, x20
	mov	w1, #2
	bl	_sldns_buffer_read_u16_at
	mov	x4, x0
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	x3, x23
	mov	x5, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_error_encode
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EDNS_ADVERTISED_VERSION,4,2    ; @EDNS_ADVERTISED_VERSION
	.comm	_EDNS_ADVERTISED_SIZE,4,2       ; @EDNS_ADVERTISED_SIZE
	.comm	_EDNS_DO,4,2                    ; @EDNS_DO
	.comm	_BIT_AA,4,2                     ; @BIT_AA
	.no_dead_strip	_auth_error_encode
.subsections_via_symbols
