	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nsec3_calc_b32
_nsec3_calc_b32:                        ## @nsec3_calc_b32
	.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	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_sldns_buffer_clear
	movl	12(%r15), %r12d
	movl	16(%r15), %r13d
	movq	%rbx, %rdi
	callq	_sldns_buffer_begin
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_sldns_buffer_limit
	movl	%r13d, %edi
	movl	%r12d, %esi
	movq	%r14, %rdx
	movl	%eax, %ecx
	callq	_sldns_b32_ntop_extended_hex
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movl	%eax, %eax
	movq	%rax, (%r15)
	movq	%rbx, %rdi
	callq	_sldns_buffer_begin
	movq	(%r15), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_regional_alloc_init
	movl	%eax, %ecx
	movl	%eax, 8(%r15)
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setne	%al
	jmp	LBB0_3
LBB0_1:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_log_err
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"b32_ntop_extended_hex: error in encoding: %d"

	.no_dead_strip	_nsec3_calc_b32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nsec3_calc_b32
_nsec3_calc_b32:                        ; @nsec3_calc_b32
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x1
	bl	_sldns_buffer_clear
	ldp	w23, w22, [x19, #12]
	mov	x0, x21
	bl	_sldns_buffer_begin
	mov	x24, x0
	mov	x0, x21
	bl	_sldns_buffer_limit
	mov	x3, x0
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	bl	_sldns_b32_ntop_extended_hex
	mov	x1, x0
	cmp	w0, #0
	b.le	LBB0_2
; %bb.1:
	mov	w8, w1
	str	x8, [x19]
	mov	x0, x21
	bl	_sldns_buffer_begin
	mov	x1, x0
	ldr	x2, [x19]
	mov	x0, x20
	bl	_regional_alloc_init
	str	w0, [x19, #8]
	cmp	w0, #0
	cset	w0, ne
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_err
	mov	w0, #0
LBB0_3:
	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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"b32_ntop_extended_hex: error in encoding: %d"

	.no_dead_strip	_nsec3_calc_b32
.subsections_via_symbols
