	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function perform_zone_remove
_perform_zone_remove:                   ## @perform_zone_remove
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	leaq	-24(%rbp), %rax
	leaq	-32(%rbp), %rcx
	leaq	-12(%rbp), %r8
	movq	%rdx, %rsi
	movq	%rax, %rdx
	callq	_parse_arg_name
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	callq	_lock_rw_wrlock
	movq	-24(%rbp), %rsi
	movq	-32(%rbp), %rdx
	movl	-12(%rbp), %ecx
	movq	_LDNS_RR_CLASS_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	callq	_local_zones_find
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_local_zones_del_zone
LBB0_4:
	movq	%rbx, %rdi
	callq	_lock_rw_unlock
	movq	-24(%rbp), %rdi
	callq	_free
	movl	$1, %eax
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_CLASS_IN,4,2           ## @LDNS_RR_CLASS_IN
	.no_dead_strip	_perform_zone_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function perform_zone_remove
_perform_zone_remove:                   ; @perform_zone_remove
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x2
	mov	x19, x1
	add	x2, sp, #24
	add	x3, sp, #8
	add	x4, sp, #20
	mov	x1, x8
	bl	_parse_arg_name
	cbz	w0, LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_lock_rw_wrlock
	ldr	x1, [sp, #24]
	ldr	x2, [sp, #8]
	ldr	w3, [sp, #20]
Lloh0:
	adrp	x8, _LDNS_RR_CLASS_IN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LDNS_RR_CLASS_IN@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
	mov	x0, x19
	bl	_local_zones_find
	cbz	x0, LBB0_3
; %bb.2:
	mov	x1, x0
	mov	x0, x19
	bl	_local_zones_del_zone
LBB0_3:
	mov	x0, x19
	bl	_lock_rw_unlock
	ldr	x0, [sp, #24]
	bl	_free
	mov	w0, #1
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_CLASS_IN,4,2           ; @LDNS_RR_CLASS_IN
	.no_dead_strip	_perform_zone_remove
.subsections_via_symbols
