	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sldns_str2wire_ipseckey_buf    ## -- Begin function sldns_str2wire_ipseckey_buf
	.p2align	4, 0x90
_sldns_str2wire_ipseckey_buf:           ## @sldns_str2wire_ipseckey_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	%r12
	pushq	%rbx
	subq	$560, %rsp                      ## imm = 0x230
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	$0, -576(%rbp)
	callq	_strlen
	leaq	-564(%rbp), %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_sldns_buffer_init_frm_data
	cmpq	$2, (%r12)
	ja	LBB0_2
## %bb.1:
	movq	_LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL@GOTPCREL(%rip), %rax
LBB0_23:
	movl	(%rax), %eax
	jmp	LBB0_24
LBB0_2:
	leaq	L_.str(%rip), %rdx
	leaq	-564(%rbp), %rdi
	leaq	-560(%rbp), %rsi
	movl	$512, %ecx                      ## imm = 0x200
	callq	_sldns_bget_token
	testq	%rax, %rax
	jle	LBB0_3
## %bb.5:
	leaq	-560(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_atoi
	movl	%eax, (%r14)
	leaq	L_.str(%rip), %rdx
	leaq	-564(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$512, %ecx                      ## imm = 0x200
	callq	_sldns_bget_token
	testq	%rax, %rax
	jle	LBB0_3
## %bb.6:
	leaq	-560(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_atoi
	movq	%rax, %r15
	movl	%r15d, 4(%r14)
	leaq	L_.str(%rip), %rdx
	leaq	-564(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$512, %ecx                      ## imm = 0x200
	callq	_sldns_bget_token
	testq	%rax, %rax
	jle	LBB0_3
## %bb.7:
	leaq	-560(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_atoi
	movl	%eax, 8(%r14)
	leaq	L_.str(%rip), %rdx
	leaq	-564(%rbp), %rdi
	movq	%rbx, %rsi
	movl	$512, %ecx                      ## imm = 0x200
	callq	_sldns_bget_token
	testq	%rax, %rax
	jle	LBB0_3
## %bb.8:
	cmpl	$3, %r15d
	ja	LBB0_3
## %bb.9:
	movl	%r15d, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_10:
	leaq	L_.str.1(%rip), %rsi
	leaq	-560(%rbp), %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_11
LBB0_3:
	movq	_LDNS_WIREPARSE_ERR_INVALID_STR@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %ebx
	leaq	-564(%rbp), %rdi
	callq	_sldns_buffer_position
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_RET_ERR
LBB0_24:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-40(%rbp), %rcx
	jne	LBB0_26
## %bb.25:
	addq	$560, %rsp                      ## imm = 0x230
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	(%r12), %rax
	addq	$-3, %rax
	movq	%rax, -576(%rbp)
	leaq	12(%r14), %rsi
	leaq	-560(%rbp), %rdi
	leaq	-576(%rbp), %rdx
	callq	_sldns_str2wire_a_buf
	jmp	LBB0_15
LBB0_18:
	movq	(%r12), %rax
	addq	$-3, %rax
	movq	%rax, -576(%rbp)
	leaq	12(%r14), %rsi
	leaq	-560(%rbp), %rdi
	leaq	-576(%rbp), %rdx
	callq	_sldns_str2wire_aaaa_buf
	jmp	LBB0_15
LBB0_19:
	movq	(%r12), %rax
	addq	$-3, %rax
	movq	%rax, -576(%rbp)
	leaq	12(%r14), %rsi
	leaq	-560(%rbp), %rdi
	leaq	-576(%rbp), %rdx
	callq	_sldns_str2wire_dname_buf
LBB0_15:
	testl	%eax, %eax
	je	LBB0_12
## %bb.16:
	movl	%eax, %r15d
	leaq	-564(%rbp), %rdi
	callq	_sldns_buffer_position
	movl	%r15d, %edi
LBB0_17:
	movl	%eax, %esi
	callq	_RET_ERR_SHIFT
	jmp	LBB0_24
LBB0_11:
	movq	$0, -576(%rbp)
LBB0_12:
	movq	(%r12), %rax
	movq	-576(%rbp), %rcx
	leaq	3(%rcx), %rdx
	cmpq	%rdx, %rax
	jae	LBB0_20
## %bb.13:
	movq	_LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_20:
	subq	%rcx, %rax
	addq	$-3, %rax
	movq	%rax, -584(%rbp)
	leaq	-564(%rbp), %rdi
	callq	_sldns_buffer_current
	movq	-576(%rbp), %rcx
	leaq	(%r14,%rcx,4), %rsi
	addq	$12, %rsi
	leaq	-584(%rbp), %rdx
	movq	%rax, %rdi
	callq	_sldns_str2wire_b64_buf
	testl	%eax, %eax
	je	LBB0_22
## %bb.21:
	movl	%eax, %r14d
	leaq	-564(%rbp), %rdi
	callq	_sldns_buffer_position
	movl	%r14d, %edi
	jmp	LBB0_17
LBB0_22:
	movq	-576(%rbp), %rax
	movq	-584(%rbp), %rcx
	addq	%rcx, %rax
	addq	$3, %rax
	movq	%rax, (%r12)
	movq	_LDNS_WIREPARSE_ERR_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_23
LBB0_26:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
LJTI0_0:
	.long	L0_0_set_10
	.long	L0_0_set_14
	.long	L0_0_set_18
	.long	L0_0_set_19
	.end_data_region
                                        ## -- End function
	.comm	_LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL,4,2 ## @LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\t\n "

	.comm	_LDNS_WIREPARSE_ERR_INVALID_STR,4,2 ## @LDNS_WIREPARSE_ERR_INVALID_STR
L_.str.1:                               ## @.str.1
	.asciz	"."

	.comm	_LDNS_WIREPARSE_ERR_OK,4,2      ## @LDNS_WIREPARSE_ERR_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sldns_str2wire_ipseckey_buf    ; -- Begin function sldns_str2wire_ipseckey_buf
	.p2align	2
_sldns_str2wire_ipseckey_buf:           ; @sldns_str2wire_ipseckey_buf
	.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
	sub	sp, sp, #544
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	str	xzr, [sp, #16]
	bl	_strlen
	mov	x2, x0
	add	x0, sp, #4
	mov	x1, x21
	bl	_sldns_buffer_init_frm_data
	ldr	x8, [x19]
	cmp	x8, #2
	b.hi	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL@GOTPAGEOFF]
LBB0_2:
	ldr	w0, [x8]
	b	LBB0_12
LBB0_3:
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #4
	add	x1, sp, #24
	mov	w3, #512
	bl	_sldns_bget_token
	cmp	x0, #0
	b.le	LBB0_10
; %bb.4:
	add	x0, sp, #24
	bl	_atoi
	str	w0, [x20]
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #4
	add	x1, sp, #24
	mov	w3, #512
	bl	_sldns_bget_token
	cmp	x0, #0
	b.le	LBB0_10
; %bb.5:
	add	x0, sp, #24
	bl	_atoi
	mov	x21, x0
	str	w21, [x20, #4]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #4
	add	x1, sp, #24
	mov	w3, #512
	bl	_sldns_bget_token
	cmp	x0, #0
	b.le	LBB0_10
; %bb.6:
	add	x0, sp, #24
	bl	_atoi
	str	w0, [x20, #8]
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #4
	add	x1, sp, #24
	mov	w3, #512
	bl	_sldns_bget_token
	cmp	x0, #0
	b.le	LBB0_10
; %bb.7:
	cmp	w21, #3
	b.hi	LBB0_10
; %bb.8:
	mov	w8, w21
Lloh13:
	adrp	x9, lJTI0_0@PAGE
Lloh14:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_9
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_9:
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #24
	bl	_strcmp
	cbz	x0, LBB0_18
LBB0_10:
Lloh17:
	adrp	x8, _LDNS_WIREPARSE_ERR_INVALID_STR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _LDNS_WIREPARSE_ERR_INVALID_STR@GOTPAGEOFF]
LBB0_11:
	ldr	w19, [x8]
	add	x0, sp, #4
	bl	_sldns_buffer_position
	mov	x1, x0
	mov	x0, x19
	bl	_RET_ERR
LBB0_12:
	ldur	x8, [x29, #-40]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.13:
	add	sp, sp, #544
	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_14:
	ldr	x8, [x19]
	sub	x8, x8, #3
	str	x8, [sp, #16]
	add	x1, x20, #12
	add	x0, sp, #24
	add	x2, sp, #16
	bl	_sldns_str2wire_a_buf
	cbnz	w0, LBB0_17
	b	LBB0_19
LBB0_15:
	ldr	x8, [x19]
	sub	x8, x8, #3
	str	x8, [sp, #16]
	add	x1, x20, #12
	add	x0, sp, #24
	add	x2, sp, #16
	bl	_sldns_str2wire_aaaa_buf
	cbnz	w0, LBB0_17
	b	LBB0_19
LBB0_16:
	ldr	x8, [x19]
	sub	x8, x8, #3
	str	x8, [sp, #16]
	add	x1, x20, #12
	add	x0, sp, #24
	add	x2, sp, #16
	bl	_sldns_str2wire_dname_buf
	cbz	w0, LBB0_19
LBB0_17:
	mov	x21, x0
	add	x0, sp, #4
	bl	_sldns_buffer_position
	mov	x1, x0
	mov	x0, x21
	bl	_RET_ERR_SHIFT
	b	LBB0_12
LBB0_18:
	str	xzr, [sp, #16]
LBB0_19:
	ldr	x8, [x19]
	ldr	x9, [sp, #16]
	add	x10, x9, #3
	cmp	x8, x10
	b.hs	LBB0_21
; %bb.20:
Lloh22:
	adrp	x8, _LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL@GOTPAGEOFF]
	b	LBB0_11
LBB0_21:
	sub	x8, x8, x9
	sub	x8, x8, #3
	str	x8, [sp, #8]
	add	x0, sp, #4
	bl	_sldns_buffer_current
	ldr	x8, [sp, #16]
	add	x8, x20, x8, lsl #2
	add	x1, x8, #12
	add	x2, sp, #8
	bl	_sldns_str2wire_b64_buf
	cbz	w0, LBB0_23
; %bb.22:
	mov	x20, x0
	add	x0, sp, #4
	bl	_sldns_buffer_position
	mov	x1, x0
	mov	x0, x20
	bl	_RET_ERR_SHIFT
	b	LBB0_12
LBB0_23:
	ldp	x9, x8, [sp, #8]
	add	x8, x8, x9
	add	x8, x8, #3
	str	x8, [x19]
Lloh24:
	adrp	x8, _LDNS_WIREPARSE_ERR_OK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _LDNS_WIREPARSE_ERR_OK@GOTPAGEOFF]
	b	LBB0_2
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_14-LBB0_9)>>2
	.byte	(LBB0_15-LBB0_9)>>2
	.byte	(LBB0_16-LBB0_9)>>2
                                        ; -- End function
	.comm	_LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL,4,2 ; @LDNS_WIREPARSE_ERR_BUFFER_TOO_SMALL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\t\n "

	.comm	_LDNS_WIREPARSE_ERR_INVALID_STR,4,2 ; @LDNS_WIREPARSE_ERR_INVALID_STR
l_.str.1:                               ; @.str.1
	.asciz	"."

	.comm	_LDNS_WIREPARSE_ERR_OK,4,2      ; @LDNS_WIREPARSE_ERR_OK
.subsections_via_symbols
