	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipfw_del_obj_rewriter          ## -- Begin function ipfw_del_obj_rewriter
	.p2align	4, 0x90
_ipfw_del_obj_rewriter:                 ## @ipfw_del_obj_rewriter
	.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
	movq	%rsi, %r14
	movq	%rdi, %r13
	xorl	%eax, %eax
	callq	_CTL3_LOCK
	testq	%r14, %r14
	je	LBB0_9
## %bb.1:
	xorl	%r15d, %r15d
	leaq	-48(%rbp), %r12
	jmp	LBB0_2
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_ctl3_rsize@GOTPCREL(%rip), %rbx
	movslq	(%rbx), %rdx
	shlq	$4, %rdx
	movq	_ctl3_rewriters@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rdx
	leaq	16(%rdi), %rsi
	subq	%rax, %rdx
	callq	_memmove
	decl	(%rbx)
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	cmpq	%r14, %r15
	je	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movq	%r15, %rbx
	shlq	$4, %rbx
	movl	8(%r13,%rbx), %edi
	leaq	-56(%rbp), %rsi
	movq	%r12, %rdx
	callq	_find_op_rw_range
	testq	%rax, %rax
	jne	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi
	movq	-48(%rbp), %rcx
	cmpq	%rcx, %rdi
	ja	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13,%rbx), %rdx
	leaq	16(%rdi), %rax
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rdx, (%rdi)
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	addq	$16, %rdi
	addq	$16, %rax
	cmpq	%rcx, %rdi
	jbe	LBB0_5
	jmp	LBB0_8
LBB0_9:
	movq	_ctl3_rsize@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_13
## %bb.10:
	movq	_ctl3_rewriters@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_12
## %bb.11:
	movq	_M_IPFW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_free
LBB0_12:
	movq	$0, (%rbx)
LBB0_13:
	xorl	%eax, %eax
	callq	_CTL3_UNLOCK
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ctl3_rewriters,8,3             ## @ctl3_rewriters
	.comm	_ctl3_rsize,4,2                 ## @ctl3_rsize
	.comm	_M_IPFW,4,2                     ## @M_IPFW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipfw_del_obj_rewriter          ; -- Begin function ipfw_del_obj_rewriter
	.p2align	2
_ipfw_del_obj_rewriter:                 ; @ipfw_del_obj_rewriter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_CTL3_LOCK
Lloh0:
	adrp	x21, _ctl3_rsize@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ctl3_rsize@GOTPAGEOFF]
	cbz	x19, LBB0_9
; %bb.1:
	mov	x22, #0
Lloh2:
	adrp	x23, _ctl3_rewriters@GOTPAGE
Lloh3:
	ldr	x23, [x23, _ctl3_rewriters@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	ldrsw	x10, [x21]
	add	x8, x8, x10, lsl #4
	add	x1, x0, #16
	sub	x2, x8, x9
	bl	_memmove
	ldr	w8, [x21]
	sub	w8, w8, #1
	str	w8, [x21]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x22, #1
	cmp	x22, x19
	b.eq	LBB0_9
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	add	x8, x20, x22, lsl #4
	ldr	w0, [x8, #8]
	add	x1, sp, #8
	mov	x2, sp
	bl	_find_op_rw_range
	cbnz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldp	x8, x0, [sp]
	cmp	x0, x8
	b.hi	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	x9, x22, #4
	ldr	x10, [x20, x9]
	add	x9, x0, #16
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x11, [x0]
	cmp	x11, x10
	b.eq	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	add	x0, x0, #16
	add	x9, x9, #16
	cmp	x0, x8
	b.ls	LBB0_7
	b	LBB0_3
LBB0_9:
	ldr	w8, [x21]
	cbnz	w8, LBB0_13
; %bb.10:
Lloh4:
	adrp	x19, _ctl3_rewriters@GOTPAGE
Lloh5:
	ldr	x19, [x19, _ctl3_rewriters@GOTPAGEOFF]
	ldr	x0, [x19]
	cbz	x0, LBB0_12
; %bb.11:
Lloh6:
	adrp	x8, _M_IPFW@GOTPAGE
Lloh7:
	ldr	x8, [x8, _M_IPFW@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_free
LBB0_12:
	str	xzr, [x19]
LBB0_13:
	bl	_CTL3_UNLOCK
	mov	w0, #0
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ctl3_rewriters,8,3             ; @ctl3_rewriters
	.comm	_ctl3_rsize,4,2                 ; @ctl3_rsize
	.comm	_M_IPFW,4,2                     ; @M_IPFW
.subsections_via_symbols
