	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_infra_edns_update              ## -- Begin function infra_edns_update
	.p2align	4, 0x90
_infra_edns_update:                     ## @infra_edns_update
	.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
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r12
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r13
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	$1, %r9d
	callq	_infra_lookup_nottl
	movq	%rax, %rbx
	testq	%rax, %rax
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.3:
	movq	8(%rbx), %rax
	movl	16(%rbp), %edx
	cmpl	%edx, 8(%rax)
	jge	LBB0_5
## %bb.4:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_data_entry_init
LBB0_5:
	movq	%rbx, %rax
	jmp	LBB0_6
LBB0_1:
	movq	%r13, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	movq	%r12, %rcx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movl	16(%rbp), %r9d
	callq	_new_entry
	testq	%rax, %rax
	je	LBB0_2
LBB0_6:
	movq	8(%rax), %rcx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	cmpl	$-1, %edx
	je	LBB0_7
LBB0_9:
	movl	%edx, (%rcx)
	movl	$1, 4(%rcx)
LBB0_10:
	testq	%rbx, %rbx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	je	LBB0_11
## %bb.12:
	movq	%rax, %rdi
	callq	_lock_rw_unlock
	jmp	LBB0_13
LBB0_7:
	cmpl	$-1, (%rcx)
	je	LBB0_9
## %bb.8:
	cmpl	$0, 4(%rcx)
	jne	LBB0_10
	jmp	LBB0_9
LBB0_11:
	movl	(%rdx), %edi
	movl	16(%rax), %esi
	movq	%rax, %rdx
	xorl	%r8d, %r8d
	callq	_slabhash_insert
LBB0_13:
	movl	$1, %eax
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	xorl	%eax, %eax
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_infra_edns_update              ; -- Begin function infra_edns_update
	.p2align	2
_infra_edns_update:                     ; @infra_edns_update
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x6
	mov	x20, x5
	mov	x23, x4
	mov	x24, x3
	mov	x25, x2
	mov	x26, x1
	mov	x19, x0
	mov	w5, #1
	bl	_infra_lookup_nottl
	mov	x21, x0
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x21, #8]
	ldr	w8, [x8, #8]
	mov	x2, x21
	cmp	w8, w22
	b.ge	LBB0_4
; %bb.2:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_data_entry_init
	mov	x2, x21
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	mov	x1, x26
	mov	x2, x25
	mov	x3, x24
	mov	x4, x23
	mov	x5, x22
	bl	_new_entry
	mov	x2, x0
	cbz	x0, LBB0_12
LBB0_4:
	ldr	x3, [x2, #8]
	cmn	w20, #1
	b.eq	LBB0_8
LBB0_5:
	mov	w8, #1
	stp	w20, w8, [x3]
LBB0_6:
	cbz	x21, LBB0_10
; %bb.7:
	mov	x0, x2
	bl	_lock_rw_unlock
	b	LBB0_11
LBB0_8:
	ldr	w8, [x3]
	cmn	w8, #1
	b.eq	LBB0_5
; %bb.9:
	ldr	w8, [x3, #4]
	cbnz	w8, LBB0_6
	b	LBB0_5
LBB0_10:
	ldr	w0, [x19]
	ldr	w1, [x2, #16]
	mov	x4, #0
	bl	_slabhash_insert
LBB0_11:
	mov	w0, #1
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
