	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function convert_rule_to_8
_convert_rule_to_8:                     ## @convert_rule_to_8
	.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	%rdi, %rbx
	movq	_RULE_MAXSIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_M_TEMP@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_M_NOWAIT@GOTPCREL(%rip), %rax
	movq	_M_ZERO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movl	(%r14), %edx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_memmove
	movl	(%r15), %r14d
	testl	%r14d, %r14d
	jle	LBB0_10
## %bb.3:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	48(%rbx), %r12
	movq	56(%r15), %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_F_LEN
	movl	%eax, %r13d
	movq	%rbx, %rdi
	callq	_F_LEN
                                        ## kill: def $eax killed $eax def $rax
	leal	(,%rax,4), %edx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_memmove
	movq	8(%r12), %rax
	movq	_O_NAT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rax
	movq	%rax, 8(%r12)
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%r13d, %r14d
	jl	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movslq	%r13d, %rax
	shlq	$6, %rax
	addq	%rax, %rbx
	addq	%rax, %r12
	subl	%r13d, %r14d
	jg	LBB0_4
## %bb.9:
	movl	(%r15), %r14d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	_M_TEMP@GOTPCREL(%rip), %r12
LBB0_10:
	movups	40(%r15), %xmm0
	movups	%xmm0, 32(%rbx)
	movq	32(%r15), %rax
	movq	%rax, 24(%rbx)
	movl	%r14d, (%rbx)
	movq	$0, 16(%rbx)
	movl	24(%r15), %eax
	movl	%eax, 12(%rbx)
	movl	20(%r15), %eax
	movl	%eax, 8(%rbx)
	movl	16(%r15), %eax
	movl	%eax, 4(%rbx)
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_free
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_1:
	movl	$1, %eax
	jmp	LBB0_11
LBB0_7:
	movq	8(%rbx), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_printf
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RULE_MAXSIZE,4,2               ## @RULE_MAXSIZE
	.comm	_M_TEMP,4,2                     ## @M_TEMP
	.comm	_M_NOWAIT,4,2                   ## @M_NOWAIT
	.comm	_M_ZERO,4,2                     ## @M_ZERO
	.comm	_O_NAT,8,3                      ## @O_NAT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ipfw: opcode %d size truncated\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_convert_rule_to_8
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function convert_rule_to_8
_convert_rule_to_8:                     ; @convert_rule_to_8
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x21, _RULE_MAXSIZE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _RULE_MAXSIZE@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x24, _M_TEMP@GOTPAGE
Lloh3:
	ldr	x24, [x24, _M_TEMP@GOTPAGEOFF]
Lloh4:
	adrp	x8, _M_NOWAIT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _M_NOWAIT@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _M_ZERO@GOTPAGE
Lloh8:
	ldr	x9, [x9, _M_ZERO@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w2, w9, w8
	bl	_malloc
	cbz	x0, LBB0_9
; %bb.1:
	mov	x20, x0
	ldr	w2, [x21]
	mov	x1, x19
	bl	_memmove
	ldr	w25, [x20]
	cmp	w25, #1
	b.lt	LBB0_8
; %bb.2:
	ldr	x21, [x19, #48]
	ldr	x22, [x20, #56]
Lloh10:
	adrp	x26, _O_NAT@GOTPAGE
Lloh11:
	ldr	x26, [x26, _O_NAT@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_F_LEN
	mov	x23, x0
	mov	x0, x22
	bl	_F_LEN
	lsl	w2, w0, #2
	mov	x0, x21
	mov	x1, x22
	bl	_memmove
	ldr	x8, [x21, #8]
	ldr	x9, [x26]
	cmp	x8, x9
	b.le	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x8, #1
	str	x8, [x21, #8]
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	subs	w25, w25, w23
	b.lt	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	sbfiz	x8, x23, #6, #32
	add	x22, x22, x8
	add	x21, x21, x8
	cmp	w25, #0
	b.gt	LBB0_3
; %bb.7:
	ldr	w25, [x20]
LBB0_8:
	ldur	q0, [x20, #40]
	str	q0, [x19, #32]
	ldr	x8, [x20, #32]
	str	w25, [x19]
	stp	xzr, x8, [x19, #16]
	ldr	w8, [x20, #24]
	str	w8, [x19, #12]
	ldr	d0, [x20, #16]
	stur	d0, [x19, #4]
	ldr	w1, [x24]
	mov	x0, x20
	bl	_free
	mov	w0, #0
	b	LBB0_11
LBB0_9:
	mov	w0, #1
	b	LBB0_11
LBB0_10:
	ldr	x1, [x22, #8]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
LBB0_11:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_RULE_MAXSIZE,4,2               ; @RULE_MAXSIZE
	.comm	_M_TEMP,4,2                     ; @M_TEMP
	.comm	_M_NOWAIT,4,2                   ; @M_NOWAIT
	.comm	_M_ZERO,4,2                     ; @M_ZERO
	.comm	_O_NAT,8,3                      ; @O_NAT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ipfw: opcode %d size truncated\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_convert_rule_to_8
.subsections_via_symbols
