	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_dnssec_trust_tree_add_parent ## -- Begin function ldns_dnssec_trust_tree_add_parent
	.p2align	4, 0x90
_ldns_dnssec_trust_tree_add_parent:     ## @ldns_dnssec_trust_tree_add_parent
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_LDNS_STATUS_ERR@GOTPCREL(%rip), %r8
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.2:
	movq	(%rdi), %r9
	movq	_LDNS_DNSSEC_TRUST_TREE_MAX_PARENTS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r9
	jae	LBB0_4
## %bb.3:
	movq	24(%rdi), %rax
	movq	%rsi, (%rax,%r9,8)
	movq	16(%rdi), %rax
	movl	%ecx, (%rax,%r9,4)
	movq	8(%rdi), %rax
	movq	%rdx, (%rax,%r9,8)
	incq	%r9
	movq	%r9, (%rdi)
	movq	_LDNS_STATUS_OK@GOTPCREL(%rip), %r8
LBB0_4:
	movl	(%r8), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_DNSSEC_TRUST_TREE_MAX_PARENTS,8,3 ## @LDNS_DNSSEC_TRUST_TREE_MAX_PARENTS
	.comm	_LDNS_STATUS_OK,4,2             ## @LDNS_STATUS_OK
	.comm	_LDNS_STATUS_ERR,4,2            ## @LDNS_STATUS_ERR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_dnssec_trust_tree_add_parent ; -- Begin function ldns_dnssec_trust_tree_add_parent
	.p2align	2
_ldns_dnssec_trust_tree_add_parent:     ; @ldns_dnssec_trust_tree_add_parent
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _LDNS_STATUS_ERR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_STATUS_ERR@GOTPAGEOFF]
	cbz	x0, LBB0_4
; %bb.1:
	cbz	x1, LBB0_4
; %bb.2:
	ldr	x8, [x0]
Lloh2:
	adrp	x9, _LDNS_DNSSEC_TRUST_TREE_MAX_PARENTS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _LDNS_DNSSEC_TRUST_TREE_MAX_PARENTS@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.hs	LBB0_5
; %bb.3:
	ldr	x9, [x0, #24]
	lsl	x10, x8, #3
	str	x1, [x9, x10]
	ldp	x11, x9, [x0, #8]
	str	w3, [x9, x8, lsl #2]
	str	x2, [x11, x10]
	add	x8, x8, #1
	str	x8, [x0]
Lloh5:
	adrp	x8, _LDNS_STATUS_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LDNS_STATUS_OK@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ret
LBB0_5:
Lloh7:
	adrp	x8, _LDNS_STATUS_ERR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _LDNS_STATUS_ERR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_DNSSEC_TRUST_TREE_MAX_PARENTS,8,3 ; @LDNS_DNSSEC_TRUST_TREE_MAX_PARENTS
	.comm	_LDNS_STATUS_OK,4,2             ; @LDNS_STATUS_OK
	.comm	_LDNS_STATUS_ERR,4,2            ; @LDNS_STATUS_ERR
.subsections_via_symbols
