	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_rr_a_set_address          ## -- Begin function ldns_rr_a_set_address
	.p2align	4, 0x90
_ldns_rr_a_set_address:                 ## @ldns_rr_a_set_address
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r15d, %r15d
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_ldns_rr_get_type
	movq	_LDNS_RR_TYPE_A@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_ldns_rr_get_type
	movq	_LDNS_RR_TYPE_AAAA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
LBB0_3:
	xorl	%r15d, %r15d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_ldns_rr_set_rdf
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, %rdi
	callq	_LDNS_FREE
	movl	$1, %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_A,8,3             ## @LDNS_RR_TYPE_A
	.comm	_LDNS_RR_TYPE_AAAA,8,3          ## @LDNS_RR_TYPE_AAAA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ldns_rr_a_set_address          ; -- Begin function ldns_rr_a_set_address
	.p2align	2
_ldns_rr_a_set_address:                 ; @ldns_rr_a_set_address
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	bl	_ldns_rr_get_type
Lloh0:
	adrp	x8, _LDNS_RR_TYPE_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_RR_TYPE_A@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_ldns_rr_get_type
Lloh3:
	adrp	x8, _LDNS_RR_TYPE_AAAA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LDNS_RR_TYPE_AAAA@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_ldns_rr_set_rdf
	cbz	x0, LBB0_6
; %bb.4:
	bl	_LDNS_FREE
	mov	w0, #1
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_A,8,3             ; @LDNS_RR_TYPE_A
	.comm	_LDNS_RR_TYPE_AAAA,8,3          ; @LDNS_RR_TYPE_AAAA
.subsections_via_symbols
