	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_duration_create_from_string ## -- Begin function ldns_duration_create_from_string
	.p2align	4, 0x90
_ldns_duration_create_from_string:      ## @ldns_duration_create_from_string
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_ldns_duration_create
	testq	%rax, %rax
	je	LBB0_28
## %bb.1:
	movq	%rax, %r14
	testq	%rbx, %rbx
	je	LBB0_29
## %bb.2:
	movq	%rbx, %rdi
	movl	$80, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_27
## %bb.3:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	$84, %esi
	callq	_strchr
	movq	%rax, %r15
	movq	%rbx, %rdi
	movl	$89, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rax, %r13
	incq	%rbx
	movq	%rbx, %rdi
	callq	_atoi
	movq	%rax, 48(%r14)
	movl	$1, %r12d
	movq	%r13, %rbx
	jmp	LBB0_7
LBB0_6:
	xorl	%r12d, %r12d
LBB0_7:
	movq	%rbx, %rdi
	movl	$77, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	%rax, %r13
	testq	%r15, %r15
	je	LBB0_10
## %bb.9:
	movq	%r13, %rax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	subq	%rdx, %rax
	movq	%r15, %rcx
	subq	%rdx, %rcx
	cmpq	%rcx, %rax
	jae	LBB0_11
LBB0_10:
	incq	%rbx
	movq	%rbx, %rdi
	callq	_atoi
	movq	%rax, 40(%r14)
	movl	$1, %r12d
	movq	%r13, %rbx
LBB0_11:
	movq	%rbx, %rdi
	movl	$68, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	%rax, %r13
	incq	%rbx
	movq	%rbx, %rdi
	callq	_atoi
	movq	%rax, 32(%r14)
	movl	$1, %r12d
	movq	%r13, %rbx
LBB0_13:
	testq	%r15, %r15
	cmovneq	%r15, %rbx
	movl	$1, %eax
	cmovel	%r12d, %eax
	movl	%eax, %r12d
	movq	%rbx, %rdi
	movl	$72, %esi
	callq	_strchr
	testq	%rax, %rax
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_17
## %bb.14:
	testq	%r15, %r15
	je	LBB0_17
## %bb.15:
	movq	%rax, %r13
	incq	%rbx
	movq	%rbx, %rdi
	callq	_atoi
	movq	%rax, 24(%r14)
	movl	$1, %r15d
	movq	%r13, %rbx
	jmp	LBB0_18
LBB0_17:
	movl	%r12d, %r15d
LBB0_18:
	movq	%rbx, %rdi
	movl	$77, %esi
	callq	_strrchr
	testq	%rax, %rax
	je	LBB0_22
## %bb.19:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_22
## %bb.20:
	movq	%rax, %r13
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	subq	%rdx, %rax
	subq	%rdx, %rcx
	cmpq	%rcx, %rax
	jbe	LBB0_22
## %bb.21:
	incq	%rbx
	movq	%rbx, %rdi
	callq	_atoi
	movq	%rax, 16(%r14)
	movl	$1, %r15d
	movq	%r13, %rbx
LBB0_22:
	movq	%rbx, %rdi
	movl	$83, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_25
## %bb.23:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_25
## %bb.24:
	movq	%rax, %r12
	incq	%rbx
	movq	%rbx, %rdi
	callq	_atoi
	movq	%rax, 8(%r14)
	movq	%r12, %rdi
	movl	$87, %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_27
	jmp	LBB0_29
LBB0_25:
	movq	%rbx, %rdi
	movl	$87, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_29
## %bb.26:
	testl	%r15d, %r15d
	je	LBB0_30
LBB0_27:
	movq	%r14, %rdi
	callq	_ldns_duration_cleanup
LBB0_28:
	xorl	%r14d, %r14d
LBB0_29:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	incq	%rbx
	movq	%rbx, %rdi
	callq	_atoi
	movq	%rax, (%r14)
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_duration_create_from_string ; -- Begin function ldns_duration_create_from_string
	.p2align	2
_ldns_duration_create_from_string:      ; @ldns_duration_create_from_string
	.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, x0
	bl	_ldns_duration_create
	mov	x19, x0
	cbz	x0, LBB0_25
; %bb.1:
	cbz	x22, LBB0_25
; %bb.2:
	mov	x0, x22
	mov	w1, #80
	bl	_strchr
	cbz	x0, LBB0_24
; %bb.3:
	mov	x21, x0
	mov	x0, x22
	mov	w1, #84
	bl	_strchr
	mov	x20, x0
	mov	x0, x22
	mov	w1, #89
	bl	_strchr
	cbz	x0, LBB0_5
; %bb.4:
	mov	x23, x0
	add	x0, x22, #1
	bl	_atoi
	str	x0, [x19, #48]
	mov	w24, #1
	mov	x22, x23
	b	LBB0_6
LBB0_5:
	mov	w24, #0
LBB0_6:
	mov	x0, x22
	mov	w1, #77
	bl	_strchr
	cbz	x0, LBB0_10
; %bb.7:
	mov	x23, x0
	cbz	x20, LBB0_9
; %bb.8:
	sub	x8, x23, x21
	sub	x9, x20, x21
	cmp	x8, x9
	b.hs	LBB0_10
LBB0_9:
	add	x0, x22, #1
	bl	_atoi
	str	x0, [x19, #40]
	mov	w24, #1
	mov	x22, x23
LBB0_10:
	mov	x0, x22
	mov	w1, #68
	bl	_strchr
	cbz	x0, LBB0_12
; %bb.11:
	mov	x23, x0
	add	x0, x22, #1
	bl	_atoi
	str	x0, [x19, #32]
	mov	w24, #1
	mov	x22, x23
LBB0_12:
	cmp	x20, #0
	csel	x22, x20, x22, ne
	csinc	w24, w24, wzr, eq
	mov	x0, x22
	mov	w1, #72
	bl	_strchr
	cbz	x0, LBB0_15
; %bb.13:
	cbz	x20, LBB0_15
; %bb.14:
	mov	x23, x0
	add	x0, x22, #1
	bl	_atoi
	str	x0, [x19, #24]
	mov	w24, #1
	mov	x22, x23
LBB0_15:
	mov	x0, x22
	mov	w1, #77
	bl	_strrchr
	cbz	x0, LBB0_19
; %bb.16:
	cbz	x20, LBB0_19
; %bb.17:
	mov	x23, x0
	sub	x8, x0, x21
	sub	x9, x20, x21
	cmp	x8, x9
	b.ls	LBB0_19
; %bb.18:
	add	x0, x22, #1
	bl	_atoi
	str	x0, [x19, #16]
	mov	w24, #1
	mov	x22, x23
LBB0_19:
	mov	x0, x22
	mov	w1, #83
	bl	_strchr
	cbz	x0, LBB0_22
; %bb.20:
	cbz	x20, LBB0_22
; %bb.21:
	mov	x21, x0
	add	x0, x22, #1
	bl	_atoi
	str	x0, [x19, #8]
	mov	x0, x21
	mov	w1, #87
	bl	_strchr
	cbnz	x0, LBB0_24
	b	LBB0_25
LBB0_22:
	mov	x0, x22
	mov	w1, #87
	bl	_strchr
	cbz	x0, LBB0_25
; %bb.23:
	cbz	w24, LBB0_26
LBB0_24:
	mov	x0, x19
	bl	_ldns_duration_cleanup
	mov	x19, #0
LBB0_25:
	mov	x0, 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
	ret
LBB0_26:
	add	x0, x22, #1
	bl	_atoi
	str	x0, [x19]
	b	LBB0_25
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
