	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_create_rrset
_parse_create_rrset:                    ## @parse_create_rrset
	.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	%rcx, %r15
	movl	(%rsi), %eax
	movq	_RR_COUNT_MAX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%r12d, %r12d
	cmpl	%ecx, %eax
	jg	LBB0_10
## %bb.1:
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movl	4(%rsi), %edx
	cmpl	%ecx, %edx
	jg	LBB0_10
## %bb.2:
	movslq	8(%rbx), %rsi
	cmpl	%ecx, %esi
	jg	LBB0_10
## %bb.3:
	movq	%rdi, %r13
	addl	%eax, %edx
	movslq	%edx, %rax
	leaq	(%rax,%rax,4), %rax
	leaq	(%rsi,%rax,4), %rsi
	addq	$4, %rsi
	testq	%r15, %r15
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	callq	_regional_alloc
	jmp	LBB0_6
LBB0_5:
	movq	%rsi, %rdi
	callq	_malloc
LBB0_6:
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_parse_rr_copy
	xorl	%r12d, %r12d
	testl	%eax, %eax
	setne	%r12b
	jne	LBB0_10
## %bb.8:
	testq	%r15, %r15
	jne	LBB0_10
## %bb.9:
	movq	(%r14), %rdi
	callq	_free
	xorl	%r12d, %r12d
LBB0_10:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RR_COUNT_MAX,4,2               ## @RR_COUNT_MAX
	.no_dead_strip	_parse_create_rrset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_create_rrset
_parse_create_rrset:                    ; @parse_create_rrset
	.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
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _RR_COUNT_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RR_COUNT_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	b.gt	LBB0_9
; %bb.1:
	mov	x21, x1
	ldr	w10, [x1, #4]
	cmp	w10, w9
	b.gt	LBB0_9
; %bb.2:
	ldrsw	x11, [x21, #8]
	cmp	w11, w9
	b.gt	LBB0_9
; %bb.3:
	mov	x20, x3
	mov	x19, x2
	mov	x22, x0
	add	w8, w10, w8
	mov	w9, #20
	smaddl	x8, w8, w9, x11
	add	x1, x8, #4
	cbz	x3, LBB0_5
; %bb.4:
	mov	x0, x20
	bl	_regional_alloc
	b	LBB0_6
LBB0_5:
	mov	x0, x1
	bl	_malloc
LBB0_6:
	mov	x2, x0
	str	x0, [x19]
	cbz	x0, LBB0_9
; %bb.7:
	mov	x0, x22
	mov	x1, x21
	bl	_parse_rr_copy
	cmp	w0, #0
	cset	w0, ne
	ccmp	x20, #0, #0, eq
	b.ne	LBB0_10
; %bb.8:
	ldr	x0, [x19]
	bl	_free
LBB0_9:
	mov	w0, #0
LBB0_10:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RR_COUNT_MAX,4,2               ; @RR_COUNT_MAX
	.no_dead_strip	_parse_create_rrset
.subsections_via_symbols
