	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_infra_set_lame                 ## -- Begin function infra_set_lame
	.p2align	4, 0x90
_infra_set_lame:                        ## @infra_set_lame
	.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, %r13
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	$1, %r9d
	callq	_infra_lookup_nottl
	movq	%rax, %rbx
	testq	%rax, %rax
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.3:
	movq	8(%rbx), %rax
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	cmpl	%edx, 16(%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	%r12, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	movq	%r13, %rcx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	_new_entry
	testq	%rax, %rax
	je	LBB0_2
LBB0_6:
	movl	24(%rbp), %edx
	movl	16(%rbp), %edi
	movq	8(%rax), %rcx
	testl	%edi, %edi
	je	LBB0_8
## %bb.7:
	movl	$1, (%rcx)
LBB0_8:
	testl	%edx, %edx
	je	LBB0_10
## %bb.9:
	movl	$1, 4(%rcx)
LBB0_10:
	movq	32(%rbp), %rsi
	orl	%edi, %edx
	movq	_LDNS_RR_TYPE_A@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	jne	LBB0_13
## %bb.11:
	cmpq	%rsi, %rdi
	jne	LBB0_13
## %bb.12:
	movl	$1, 8(%rcx)
LBB0_13:
	testl	%edx, %edx
	jne	LBB0_16
## %bb.14:
	cmpq	%rsi, %rdi
	je	LBB0_16
## %bb.15:
	movl	$1, 12(%rcx)
LBB0_16:
	testq	%rbx, %rbx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	je	LBB0_17
## %bb.18:
	movq	%rax, %rdi
	callq	_lock_rw_unlock
	jmp	LBB0_19
LBB0_17:
	movl	(%rdx), %edi
	movl	16(%rax), %esi
	movq	%rax, %rdx
	xorl	%r8d, %r8d
	callq	_slabhash_insert
LBB0_19:
	movl	$1, %eax
LBB0_20:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	_log_err
	xorl	%eax, %eax
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"set_lame: malloc failure"

	.comm	_LDNS_RR_TYPE_A,8,3             ## @LDNS_RR_TYPE_A
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_infra_set_lame                 ; -- Begin function infra_set_lame
	.p2align	2
_infra_set_lame:                        ; @infra_set_lame
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x7
	mov	x22, x6
	mov	x23, x5
	mov	x24, x4
	mov	x25, x3
	mov	x26, x2
	mov	x27, x1
	mov	x19, x0
	mov	w5, #1
	bl	_infra_lookup_nottl
	mov	x20, x0
	cbz	x0, LBB0_3
; %bb.1:
	ldr	x8, [x20, #8]
	ldr	w8, [x8, #16]
	mov	x2, x20
	cmp	w8, w23
	b.ge	LBB0_4
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x23
	bl	_data_entry_init
	mov	x2, x20
	b	LBB0_4
LBB0_3:
	mov	x0, x19
	mov	x1, x27
	mov	x2, x26
	mov	x3, x25
	mov	x4, x24
	mov	x5, x23
	bl	_new_entry
	mov	x2, x0
	cbz	x0, LBB0_19
LBB0_4:
	ldr	x3, [x2, #8]
	cbz	w22, LBB0_6
; %bb.5:
	mov	w8, #1
	str	w8, [x3]
LBB0_6:
	cbz	w21, LBB0_8
; %bb.7:
	mov	w8, #1
	str	w8, [x3, #4]
LBB0_8:
	ldr	x8, [x29, #16]
Lloh0:
	adrp	x9, _LDNS_RR_TYPE_A@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LDNS_RR_TYPE_A@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	orr	w10, w21, w22
	cbnz	w10, LBB0_11
; %bb.9:
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	mov	w11, #1
	str	w11, [x3, #8]
LBB0_11:
	cbnz	w10, LBB0_14
; %bb.12:
	cmp	x9, x8
	b.eq	LBB0_14
; %bb.13:
	mov	w8, #1
	str	w8, [x3, #12]
LBB0_14:
	cbz	x20, LBB0_16
; %bb.15:
	mov	x0, x2
	bl	_lock_rw_unlock
	b	LBB0_17
LBB0_16:
	ldr	w0, [x19]
	ldr	w1, [x2, #16]
	mov	x4, #0
	bl	_slabhash_insert
LBB0_17:
	mov	w0, #1
LBB0_18:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_19:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_err
	mov	w0, #0
	b	LBB0_18
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"set_lame: malloc failure"

	.comm	_LDNS_RR_TYPE_A,8,3             ; @LDNS_RR_TYPE_A
.subsections_via_symbols
