	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipfw_attach_hooks              ## -- Begin function ipfw_attach_hooks
	.p2align	4, 0x90
_ipfw_attach_hooks:                     ## @ipfw_attach_hooks
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_AF_INET@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_ipfw_hook
	leaq	L_.str(%rip), %rdi
	movq	_V_fw_enable@GOTPCREL(%rip), %rbx
	movq	%rbx, %rsi
	callq	_TUNABLE_INT_FETCH
	cmpq	$0, (%rbx)
	je	LBB0_1
## %bb.2:
	movl	(%r14), %edi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_ipfw_link
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r14d
	leaq	L_str.4(%rip), %rdi
	callq	_puts
	movl	%r14d, %r15d
	jmp	LBB0_4
LBB0_1:
	xorl	%r15d, %r15d
LBB0_4:
	movq	_AF_LINK@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_ipfw_hook
	leaq	L_.str.2(%rip), %rdi
	movq	_V_fwlink_enable@GOTPCREL(%rip), %rbx
	movq	%rbx, %rsi
	callq	_TUNABLE_INT_FETCH
	cmpq	$0, (%rbx)
	je	LBB0_7
## %bb.5:
	movl	(%r14), %edi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_ipfw_link
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %r14d
	leaq	L_str(%rip), %rdi
	callq	_puts
	movl	%r14d, %r15d
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,4,2                    ## @AF_INET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"net.inet.ip.fw.enable"

	.comm	_V_fw_enable,8,3                ## @V_fw_enable
	.comm	_AF_LINK,4,2                    ## @AF_LINK
L_.str.2:                               ## @.str.2
	.asciz	"net.link.ether.ipfw"

	.comm	_V_fwlink_enable,8,3            ## @V_fwlink_enable
	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.comm	_V_fw6_enable,8,3               ## @V_fw6_enable
L_str:                                  ## @str
	.asciz	"ipfw_link_hook() error"

L_str.4:                                ## @str.4
	.asciz	"ipfw_hook() error"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipfw_attach_hooks              ; -- Begin function ipfw_attach_hooks
	.p2align	2
_ipfw_attach_hooks:                     ; @ipfw_attach_hooks
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x20, _AF_INET@GOTPAGE
Lloh1:
	ldr	x20, [x20, _AF_INET@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_ipfw_hook
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
Lloh4:
	adrp	x19, _V_fw_enable@GOTPAGE
Lloh5:
	ldr	x19, [x19, _V_fw_enable@GOTPAGEOFF]
	mov	x1, x19
	bl	_TUNABLE_INT_FETCH
	ldr	x8, [x19]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w0, [x20]
	mov	w1, #0
	bl	_ipfw_link
	mov	x19, x0
	cbz	w0, LBB0_4
; %bb.2:
Lloh6:
	adrp	x0, l_str.4@PAGE
Lloh7:
	add	x0, x0, l_str.4@PAGEOFF
	bl	_puts
	b	LBB0_4
LBB0_3:
	mov	w19, #0
LBB0_4:
Lloh8:
	adrp	x21, _AF_LINK@GOTPAGE
Lloh9:
	ldr	x21, [x21, _AF_LINK@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_ipfw_hook
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh12:
	adrp	x20, _V_fwlink_enable@GOTPAGE
Lloh13:
	ldr	x20, [x20, _V_fwlink_enable@GOTPAGEOFF]
	mov	x1, x20
	bl	_TUNABLE_INT_FETCH
	ldr	x8, [x20]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	w0, [x21]
	mov	w1, #0
	bl	_ipfw_link
	mov	x19, x0
	cbz	w0, LBB0_7
; %bb.6:
Lloh14:
	adrp	x0, l_str@PAGE
Lloh15:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
LBB0_7:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,4,2                    ; @AF_INET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"net.inet.ip.fw.enable"

	.comm	_V_fw_enable,8,3                ; @V_fw_enable
	.comm	_AF_LINK,4,2                    ; @AF_LINK
l_.str.2:                               ; @.str.2
	.asciz	"net.link.ether.ipfw"

	.comm	_V_fwlink_enable,8,3            ; @V_fwlink_enable
	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.comm	_V_fw6_enable,8,3               ; @V_fw6_enable
l_str:                                  ; @str
	.asciz	"ipfw_link_hook() error"

l_str.4:                                ; @str.4
	.asciz	"ipfw_hook() error"

.subsections_via_symbols
