	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dns_name_delete_records
_dns_name_delete_records:               ## @dns_name_delete_records
	.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
	movl	%esi, %r15d
	movl	%edi, %r14d
	notl	%edi
	shrl	$31, %edi
	callq	_assert
	movq	_names@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r14d, %rdi
	movl	(%rax,%rdi,4), %esi
	testl	%esi, %esi
	js	LBB0_10
## %bb.1:
	movq	_records_buff@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r9
	movq	_RB@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r10
	movq	%rsi, %rcx
	shlq	$4, %rcx
	movq	(%r10,%rcx), %rcx
	cmpl	%r15d, (%r9,%rcx,4)
	jne	LBB0_9
## %bb.2:
	leaq	(%rax,%rdi,4), %r8
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rsi, %rax
	shlq	$4, %rax
	movl	8(%r10,%rax), %esi
	testl	%esi, %esi
	js	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_9 Depth=1
	movq	%rsi, %rcx
	shlq	$4, %rcx
	movq	(%r10,%rcx), %rcx
	cmpl	%r15d, (%r9,%rcx,4)
	jne	LBB0_9
## %bb.4:
	leaq	(%r10,%rax), %r8
	addq	$8, %r8
LBB0_5:
	movl	$1, %ecx
	movl	%esi, %eax
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %edi
	movl	%eax, %ebx
	shlq	$4, %rbx
	movl	8(%r10,%rbx), %eax
	testl	%eax, %eax
	js	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%rax, %rcx
	shlq	$4, %rcx
	movq	(%r10,%rcx), %rdx
	leal	1(%rdi), %ecx
	cmpl	%r15d, (%r9,%rdx,4)
	je	LBB0_6
LBB0_8:
	leaq	(%r10,%rbx), %rcx
	addq	$8, %rcx
	movl	%eax, (%r8)
	movq	_free_rb@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, (%rcx)
	movl	%esi, (%rax)
	movq	_free_records@GOTPCREL(%rip), %rax
	addl	%edi, (%rax)
LBB0_10:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_names,8,3                      ## @names
	.comm	_records_buff,8,3               ## @records_buff
	.comm	_RB,8,3                         ## @RB
	.comm	_free_rb,4,2                    ## @free_rb
	.comm	_free_records,4,2               ## @free_records
	.no_dead_strip	_dns_name_delete_records
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dns_name_delete_records
_dns_name_delete_records:               ; @dns_name_delete_records
	.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
	mov	x19, x1
	mov	x20, x0
	mvn	w8, w0
	lsr	w0, w8, #31
	bl	_assert
Lloh0:
	adrp	x8, _names@GOTPAGE
Lloh1:
	ldr	x8, [x8, _names@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	add	x9, x8, w20, sxtw #2
	ldr	w8, [x9]
	tbnz	w8, #31, LBB0_8
; %bb.1:
Lloh3:
	adrp	x10, _records_buff@GOTPAGE
Lloh4:
	ldr	x10, [x10, _records_buff@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _RB@GOTPAGE
Lloh7:
	ldr	x11, [x11, _RB@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x12, x8, #4
	ldr	x12, [x11, x12]
	ldr	w12, [x10, x12, lsl #2]
	cmp	w12, w19
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x11, x8, lsl #4
	ldr	w8, [x9, #8]!
	tbz	w8, #31, LBB0_2
	b	LBB0_8
LBB0_4:
	mov	w15, #1
	mov	x14, x8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x12, x15
	add	x13, x11, w14, uxtw #4
	ldr	w14, [x13, #8]!
	tbnz	w14, #31, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	lsl	x15, x14, #4
	ldr	x15, [x11, x15]
	ldr	w16, [x10, x15, lsl #2]
	add	w15, w12, #1
	cmp	w16, w19
	b.eq	LBB0_5
LBB0_7:
	str	w14, [x9]
Lloh9:
	adrp	x9, _free_rb@GOTPAGE
Lloh10:
	ldr	x9, [x9, _free_rb@GOTPAGEOFF]
	ldr	w10, [x9]
	str	w10, [x13]
	str	w8, [x9]
Lloh11:
	adrp	x8, _free_records@GOTPAGE
Lloh12:
	ldr	x8, [x8, _free_records@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, w12
	str	w9, [x8]
LBB0_8:
	mov	w0, #0
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_names,8,3                      ; @names
	.comm	_records_buff,8,3               ; @records_buff
	.comm	_RB,8,3                         ; @RB
	.comm	_free_rb,4,2                    ; @free_rb
	.comm	_free_records,4,2               ; @free_records
	.no_dead_strip	_dns_name_delete_records
.subsections_via_symbols
