	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipfw_add_sopt_handler          ## -- Begin function ipfw_add_sopt_handler
	.p2align	4, 0x90
_ipfw_add_sopt_handler:                 ## @ipfw_add_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	callq	_CTL3_LOCK
	movq	_M_IPFW@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_ctl3_hsize@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r13
	addq	%r15, %r13
	xorl	%eax, %eax
	callq	_CTL3_UNLOCK
	leal	(,%r13,4), %edi
	movl	(%r14), %esi
	movq	_M_ZERO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	callq	_malloc
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_CTL3_LOCK
	movq	(%rbx), %rdx
	leaq	(%rdx,%r15), %rbx
	cmpq	%r13, %rbx
	jbe	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_free
	jmp	LBB0_1
LBB0_3:
	movq	_ctl3_handlers@GOTPCREL(%rip), %r13
	movq	(%r13), %rsi
	shlq	$2, %rdx
	movq	%r12, %rdi
	callq	_memcpy
	movq	_ctl3_hsize@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%r12,%rax,4), %rdi
	shlq	$2, %r15
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_memcpy
	movq	_compare_sh@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_qsort
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	movl	(%r14), %esi
	callq	_free
LBB0_5:
	movq	%r12, (%r13)
	movq	_ctl3_hsize@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	movq	_ctl3_gencnt@GOTPCREL(%rip), %rax
	incl	(%rax)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CTL3_UNLOCK                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ctl3_hsize,8,3                 ## @ctl3_hsize
	.comm	_M_IPFW,4,2                     ## @M_IPFW
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_M_ZERO,4,2                     ## @M_ZERO
	.comm	_ctl3_handlers,8,3              ## @ctl3_handlers
	.comm	_compare_sh,4,2                 ## @compare_sh
	.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_add_sopt_handler          ; -- Begin function ipfw_add_sopt_handler
	.p2align	2
_ipfw_add_sopt_handler:                 ; @ipfw_add_sopt_handler
	.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	x20, x1
	mov	x19, x0
	bl	_CTL3_LOCK
Lloh0:
	adrp	x23, _ctl3_hsize@GOTPAGE
Lloh1:
	ldr	x23, [x23, _ctl3_hsize@GOTPAGEOFF]
Lloh2:
	adrp	x24, _M_IPFW@GOTPAGE
Lloh3:
	ldr	x24, [x24, _M_IPFW@GOTPAGEOFF]
Lloh4:
	adrp	x25, _M_WAITOK@GOTPAGE
Lloh5:
	ldr	x25, [x25, _M_WAITOK@GOTPAGEOFF]
Lloh6:
	adrp	x26, _M_ZERO@GOTPAGE
Lloh7:
	ldr	x26, [x26, _M_ZERO@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	add	x27, x8, x20
	bl	_CTL3_UNLOCK
	lsl	w0, w27, #2
	ldr	w1, [x24]
	ldr	w8, [x25]
	ldr	w9, [x26]
	orr	w2, w9, w8
	bl	_malloc
	mov	x21, x0
	bl	_CTL3_LOCK
	ldr	x8, [x23]
	add	x22, x8, x20
	cmp	x22, x27
	b.ls	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w1, [x24]
	mov	x0, x21
	bl	_free
	b	LBB0_1
LBB0_3:
Lloh8:
	adrp	x25, _ctl3_handlers@GOTPAGE
Lloh9:
	ldr	x25, [x25, _ctl3_handlers@GOTPAGEOFF]
	ldr	x1, [x25]
	lsl	x2, x8, #2
	mov	x0, x21
	bl	_memcpy
	ldr	x8, [x23]
	add	x0, x21, x8, lsl #2
	lsl	x2, x20, #2
	mov	x1, x19
	bl	_memcpy
Lloh10:
	adrp	x8, _compare_sh@GOTPAGE
Lloh11:
	ldr	x8, [x8, _compare_sh@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x22
	mov	w2, #4
	bl	_qsort
	ldr	x0, [x25]
	cbz	x0, LBB0_5
; %bb.4:
	ldr	w1, [x24]
	bl	_free
LBB0_5:
	str	x21, [x25]
	str	x22, [x23]
Lloh13:
	adrp	x8, _ctl3_gencnt@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ctl3_gencnt@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	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
	b	_CTL3_UNLOCK
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ctl3_hsize,8,3                 ; @ctl3_hsize
	.comm	_M_IPFW,4,2                     ; @M_IPFW
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_M_ZERO,4,2                     ; @M_ZERO
	.comm	_ctl3_handlers,8,3              ; @ctl3_handlers
	.comm	_compare_sh,4,2                 ; @compare_sh
	.comm	_ctl3_gencnt,4,2                ; @ctl3_gencnt
.subsections_via_symbols
