	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipfw_del_sopt_handler          ## -- Begin function ipfw_del_sopt_handler
	.p2align	4, 0x90
_ipfw_del_sopt_handler:                 ## @ipfw_del_sopt_handler
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_CTL3_LOCK
	testq	%r14, %r14
	je	LBB0_5
## %bb.1:
	addq	$8, %rbx
	movq	_ctl3_handlers@GOTPCREL(%rip), %r15
	movq	_ctl3_hsize@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$12, %rbx
	decq	%r14
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	movl	-8(%rbx), %edx
	movl	-4(%rbx), %esi
	callq	_find_sh
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r12), %rcx
	leaq	(%rcx,%rcx,2), %rdx
	shlq	$2, %rdx
	addq	(%r15), %rdx
	movq	%rax, %rsi
	addq	$12, %rsi
	subq	%rsi, %rdx
	movq	%rax, %rdi
	callq	_memmove
	decl	(%r12)
	jmp	LBB0_4
LBB0_5:
	movq	_ctl3_hsize@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_9
## %bb.6:
	movq	_ctl3_handlers@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.7:
	movq	_M_IPFW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_free
LBB0_8:
	movq	$0, (%rbx)
LBB0_9:
	movq	_ctl3_gencnt@GOTPCREL(%rip), %rax
	incl	(%rax)
	xorl	%eax, %eax
	callq	_CTL3_UNLOCK
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ctl3_handlers,8,3              ## @ctl3_handlers
	.comm	_ctl3_hsize,4,2                 ## @ctl3_hsize
	.comm	_M_IPFW,4,2                     ## @M_IPFW
	.comm	_ctl3_gencnt,4,2                ## @ctl3_gencnt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipfw_del_sopt_handler          ; -- Begin function ipfw_del_sopt_handler
	.p2align	2
_ipfw_del_sopt_handler:                 ; @ipfw_del_sopt_handler
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.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_hsize@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ctl3_hsize@GOTPAGEOFF]
	cbz	x19, LBB0_5
; %bb.1:
	add	x20, x20, #8
Lloh2:
	adrp	x22, _ctl3_handlers@GOTPAGE
Lloh3:
	ldr	x22, [x22, _ctl3_handlers@GOTPAGEOFF]
	mov	w23, #12
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x20, #12
	subs	x19, x19, #1
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w1, w0, [x20, #-4]
	ldur	w2, [x20, #-8]
	bl	_find_sh
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	ldrsw	x9, [x21]
	madd	x8, x9, x23, x8
	add	x1, x0, #12
	sub	x2, x8, x1
	bl	_memmove
	ldr	w8, [x21]
	sub	w8, w8, #1
	str	w8, [x21]
	b	LBB0_2
LBB0_5:
	ldr	w8, [x21]
	cbnz	w8, LBB0_9
; %bb.6:
Lloh4:
	adrp	x19, _ctl3_handlers@GOTPAGE
Lloh5:
	ldr	x19, [x19, _ctl3_handlers@GOTPAGEOFF]
	ldr	x0, [x19]
	cbz	x0, LBB0_8
; %bb.7:
Lloh6:
	adrp	x8, _M_IPFW@GOTPAGE
Lloh7:
	ldr	x8, [x8, _M_IPFW@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_free
LBB0_8:
	str	xzr, [x19]
LBB0_9:
Lloh9:
	adrp	x8, _ctl3_gencnt@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ctl3_gencnt@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	bl	_CTL3_UNLOCK
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ctl3_handlers,8,3              ; @ctl3_handlers
	.comm	_ctl3_hsize,4,2                 ; @ctl3_hsize
	.comm	_M_IPFW,4,2                     ; @M_IPFW
	.comm	_ctl3_gencnt,4,2                ; @ctl3_gencnt
.subsections_via_symbols
