	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sldns_str2wire_nsec_buf        ## -- Begin function sldns_str2wire_nsec_buf
	.p2align	4, 0x90
_sldns_str2wire_nsec_buf:               ## @sldns_str2wire_nsec_buf
	.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
	movl	$33896, %eax                    ## imm = 0x8468
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -33920(%rbp)              ## 8-byte Spill
	movq	%rsi, -33928(%rbp)              ## 8-byte Spill
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_strlen
	leaq	-33908(%rbp), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_sldns_buffer_init_frm_data
	leaq	-32880(%rbp), %rdi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	movl	$32768, %edx                    ## imm = 0x8000
	callq	_memset
	leaq	-33904(%rbp), %rdi
	xorl	%esi, %esi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_memset
	movq	%r14, %rdi
	callq	_sldns_buffer_remaining
	testq	%rax, %rax
	jle	LBB0_25
## %bb.1:
	leaq	-33908(%rbp), %r13
	leaq	-112(%rbp), %rbx
	xorl	%r12d, %r12d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %ecx
	andb	$7, %cl
	movl	$128, %eax
	shrl	%cl, %eax
	leal	7(%r14), %ecx
	testl	%r14d, %r14d
	cmovnsl	%r14d, %ecx
	leal	255(%r14), %edx
	cmovnsl	%r14d, %edx
	sarl	$3, %ecx
	movslq	%ecx, %rcx
	orl	%eax, -32880(%rbp,%rcx,4)
	sarl	$8, %edx
	movslq	%edx, %rax
	movl	$1, -33904(%rbp,%rax,4)
	incq	%r12
	cmpl	%r15d, %r14d
	cmovgl	%r14d, %r15d
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	callq	_sldns_buffer_remaining
	testq	%rax, %rax
	jle	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	leaq	L_.str(%rip), %rdx
	movl	$64, %ecx
	callq	_sldns_bget_token
	cmpl	$-1, %eax
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_sldns_get_rr_type_by_name
	cmpb	$0, -112(%rbp)
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_LDNS_WIREPARSE_ERR_SYNTAX_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leaq	-33908(%rbp), %rdi
	callq	_sldns_buffer_position
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_RET_ERR
	jmp	LBB0_23
LBB0_9:
	testq	%r12, %r12
	je	LBB0_25
## %bb.10:
	leal	255(%r15), %r12d
	testl	%r15d, %r15d
	cmovnsl	%r15d, %r12d
	sarl	$8, %r12d
	movq	-33928(%rbp), %rax              ## 8-byte Reload
	addq	$8, %rax
	movq	%rax, -33936(%rbp)              ## 8-byte Spill
	incl	%r12d
	leaq	-32868(%rbp), %rbx
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_11 Depth=1
	addq	%r14, %r13
	addq	$2, %r13
LBB0_19:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%r15
	subq	$-128, %rbx
	cmpq	%r12, %r15
	je	LBB0_20
LBB0_11:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	cmpl	$0, -33904(%rbp,%r15,4)
	je	LBB0_19
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%r15, %rax
	shlq	$7, %rax
	leaq	(%rax,%rbp), %rsi
	addq	$-32880, %rsi                   ## imm = 0xFFFF7F90
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	$0, -12(%rbx,%rcx,4)
	leal	1(%rcx), %edx
	cmovel	%eax, %edx
	leal	2(%rcx), %edi
	cmpl	$0, -8(%rbx,%rcx,4)
	cmovel	%edx, %edi
	leal	3(%rcx), %eax
	cmpl	$0, -4(%rbx,%rcx,4)
	cmovel	%edi, %eax
	cmpl	$0, (%rbx,%rcx,4)
	leaq	4(%rcx), %rdx
	cmovnel	%edx, %eax
	movq	%rdx, %rcx
	cmpq	$32, %rdx
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	testl	%eax, %eax
	je	LBB0_19
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	movslq	%eax, %r14
	leaq	(%r14,%r13), %rcx
	addq	$2, %rcx
	movq	-33920(%rbp), %rdx              ## 8-byte Reload
	cmpq	(%rdx), %rcx
	ja	LBB0_26
## %bb.16:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	-33928(%rbp), %rcx              ## 8-byte Reload
	movl	%r15d, (%rcx,%r13,4)
	movl	%eax, 4(%rcx,%r13,4)
	testl	%eax, %eax
	jle	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	-33936(%rbp), %rcx              ## 8-byte Reload
	leaq	(%rcx,%r13,4), %rdi
	movl	%eax, %edx
	shlq	$2, %rdx
	callq	_memcpy
	jmp	LBB0_18
LBB0_25:
	movq	-33920(%rbp), %rax              ## 8-byte Reload
	movq	$0, (%rax)
	jmp	LBB0_21
LBB0_20:
	movq	-33920(%rbp), %rax              ## 8-byte Reload
	movq	%r13, (%rax)
LBB0_21:
	movq	_LDNS_WIREPARSE_ERR_OK@GOTPCREL(%rip), %rax
LBB0_22:
	movl	(%rax), %eax
LBB0_23:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_27
## %bb.24:
	addq	$33896, %rsp                    ## imm = 0x8468
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	movq	_LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_27:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n\t "

L_.str.1:                               ## @.str.1
	.asciz	"TYPE0"

	.comm	_LDNS_WIREPARSE_ERR_SYNTAX_TYPE,4,2 ## @LDNS_WIREPARSE_ERR_SYNTAX_TYPE
	.comm	_LDNS_WIREPARSE_ERR_OK,4,2      ## @LDNS_WIREPARSE_ERR_OK
	.comm	_LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL,4,2 ## @LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sldns_str2wire_nsec_buf        ; -- Begin function sldns_str2wire_nsec_buf
	.p2align	2
_sldns_str2wire_nsec_buf:               ; @sldns_str2wire_nsec_buf
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	w9, #33888
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #8, lsl #12             ; =32768
	sub	sp, sp, #1120
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	bl	_strlen
	mov	x2, x0
	add	x0, sp, #12
	mov	x1, x21
	bl	_sldns_buffer_init_frm_data
	add	x24, sp, #1040
	add	x0, sp, #1040
	mov	w1, #0
	mov	w2, #32768
	bl	_memset
	add	x25, sp, #16
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #1024
	bl	_memset
	add	x0, sp, #12
	bl	_sldns_buffer_remaining
	cmp	x0, #1
	b.lt	LBB0_20
; %bb.1:
	str	x20, [sp]                       ; 8-byte Folded Spill
	mov	w26, #0
	mov	x27, #0
	sub	x28, x29, #160
Lloh5:
	adrp	x21, l_.str@PAGE
Lloh6:
	add	x21, x21, l_.str@PAGEOFF
	mov	w22, #128
	mov	w20, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	and	w8, w23, #0x7
	add	w9, w23, #7
	cmp	w23, #0
	csel	w9, w9, w23, lt
	asr	w9, w9, #3
	sbfiz	x9, x9, #2, #32
	ldr	w10, [x24, x9]
	lsr	w8, w22, w8
	orr	w8, w10, w8
	str	w8, [x24, x9]
	add	w8, w23, #255
	csel	w8, w8, w23, lt
	asr	w8, w8, #8
	str	w20, [x25, w8, sxtw #2]
	add	x27, x27, #1
	cmp	w23, w26
	csel	w26, w23, w26, gt
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #12
	bl	_sldns_buffer_remaining
	cmp	x0, #0
	b.le	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #12
	sub	x1, x29, #160
	mov	x2, x21
	mov	w3, #64
	bl	_sldns_bget_token
	cmn	w0, #1
	b.eq	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x0, x29, #160
	bl	_sldns_get_rr_type_by_name
	ldrb	w8, [x28]
	cbz	w8, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x0
	cbnz	w0, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x0, x29, #160
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_2
; %bb.8:
Lloh9:
	adrp	x8, _LDNS_WIREPARSE_ERR_SYNTAX_TYPE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LDNS_WIREPARSE_ERR_SYNTAX_TYPE@GOTPAGEOFF]
Lloh11:
	ldr	w19, [x8]
	add	x0, sp, #12
	bl	_sldns_buffer_position
	mov	x1, x0
	mov	x0, x19
	bl	_RET_ERR
	b	LBB0_24
LBB0_9:
	ldr	x28, [sp]                       ; 8-byte Folded Reload
	cbz	x27, LBB0_20
; %bb.10:
	mov	x22, #0
	mov	x21, #0
	add	w8, w26, #255
	cmp	w26, #0
	csel	w8, w8, w26, lt
	asr	w8, w8, #8
	add	x23, x28, #8
	add	w24, w8, #1
	add	x25, sp, #1040
	add	x26, sp, #16
	add	x27, sp, #1040
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	add	w8, w20, #2
	add	x21, x21, w8, sxtw
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x22, x22, #1
	add	x27, x27, #128
	cmp	x22, x24
	b.eq	LBB0_21
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
	ldr	w8, [x26, x22, lsl #2]
	cbz	w8, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x8, #0
	mov	w20, #0
	add	x1, x25, x22, lsl #7
LBB0_15:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w9, [x27, x8, lsl #2]
	add	x8, x8, #1
	cmp	w9, #0
	csel	w20, w20, w8, eq
	cmp	x8, #32
	b.ne	LBB0_15
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	cbz	w20, LBB0_12
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x8, x21, w20, sxtw
	add	x8, x8, #2
	ldr	x9, [x19]
	cmp	x8, x9
	b.hi	LBB0_26
; %bb.18:                               ;   in Loop: Header=BB0_13 Depth=1
	add	x8, x28, x21, lsl #2
	stp	w22, w20, [x8]
	cmp	w20, #1
	b.lt	LBB0_11
; %bb.19:                               ;   in Loop: Header=BB0_13 Depth=1
	lsl	x2, x20, #2
	add	x0, x23, x21, lsl #2
	bl	_memcpy
	b	LBB0_11
LBB0_20:
	str	xzr, [x19]
	b	LBB0_22
LBB0_21:
	str	x21, [x19]
LBB0_22:
Lloh12:
	adrp	x8, _LDNS_WIREPARSE_ERR_OK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LDNS_WIREPARSE_ERR_OK@GOTPAGEOFF]
LBB0_23:
	ldr	w0, [x8]
LBB0_24:
	ldur	x8, [x29, #-96]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.25:
	add	sp, sp, #8, lsl #12             ; =32768
	add	sp, sp, #1120
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_26:
Lloh17:
	adrp	x8, _LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL@GOTPAGEOFF]
	b	LBB0_23
LBB0_27:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n\t "

l_.str.1:                               ; @.str.1
	.asciz	"TYPE0"

	.comm	_LDNS_WIREPARSE_ERR_SYNTAX_TYPE,4,2 ; @LDNS_WIREPARSE_ERR_SYNTAX_TYPE
	.comm	_LDNS_WIREPARSE_ERR_OK,4,2      ; @LDNS_WIREPARSE_ERR_OK
	.comm	_LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL,4,2 ; @LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL
.subsections_via_symbols
