	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_filter                    ## -- Begin function init_filter
	.p2align	4, 0x90
_init_filter:                           ## @init_filter
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	_qname@GOTPCREL(%rip), %rax
	movq	%rdi, (%rax)
	cmpl	$1, %esi
	je	LBB0_1
## %bb.2:
	cmpl	$2, %esi
	jne	LBB0_5
## %bb.3:
	movq	_PF_LOG_ALL@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_1:
	movq	_PF_LOG@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movq	_rule_log@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_5:
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_open
	movq	_dev@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	cmpl	$-1, %eax
	je	LBB0_6
## %bb.8:
	movq	_DIOCGETSTATUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-8(%rbp), %rdx
	movl	%eax, %edi
	callq	_ioctl
	cmpl	$-1, %eax
	je	LBB0_9
## %bb.10:
	cmpl	$0, -8(%rbp)
	je	LBB0_11
## %bb.12:
	addq	$16, %rsp
	popq	%rbp
	retq
LBB0_6:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_7
LBB0_9:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_7
LBB0_11:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
LBB0_7:
	callq	_syslog
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_qname,8,3                      ## @qname
	.comm	_PF_LOG,4,2                     ## @PF_LOG
	.comm	_rule_log,4,2                   ## @rule_log
	.comm	_PF_LOG_ALL,4,2                 ## @PF_LOG_ALL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"/dev/pf"

	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_dev,4,2                        ## @dev
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.1:                               ## @.str.1
	.asciz	"can't open /dev/pf"

	.comm	_DIOCGETSTATUS,4,2              ## @DIOCGETSTATUS
L_.str.2:                               ## @.str.2
	.asciz	"DIOCGETSTATUS"

L_.str.3:                               ## @.str.3
	.asciz	"pf is disabled"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_filter                    ; -- Begin function init_filter
	.p2align	2
_init_filter:                           ; @init_filter
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _qname@GOTPAGE
Lloh1:
	ldr	x8, [x8, _qname@GOTPAGEOFF]
Lloh2:
	str	x0, [x8]
	cmp	w1, #1
	b.eq	LBB0_3
; %bb.1:
	cmp	w1, #2
	b.ne	LBB0_5
; %bb.2:
Lloh3:
	adrp	x8, _PF_LOG_ALL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PF_LOG_ALL@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _PF_LOG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PF_LOG@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _rule_log@GOTPAGE
Lloh8:
	ldr	x9, [x9, _rule_log@GOTPAGEOFF]
Lloh9:
	str	w8, [x9]
LBB0_5:
Lloh10:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	bl	_open
Lloh15:
	adrp	x8, _dev@GOTPAGE
Lloh16:
	ldr	x8, [x8, _dev@GOTPAGEOFF]
Lloh17:
	str	w0, [x8]
	cmn	w0, #1
	b.eq	LBB0_9
; %bb.6:
Lloh18:
	adrp	x8, _DIOCGETSTATUS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DIOCGETSTATUS@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_ioctl
	cmn	w0, #1
	b.eq	LBB0_10
; %bb.7:
	ldr	w8, [sp, #8]
	cbz	w8, LBB0_11
; %bb.8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_9:
Lloh21:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_12
LBB0_10:
Lloh26:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
Lloh29:
	adrp	x1, l_.str.2@PAGE
Lloh30:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_12
LBB0_11:
Lloh31:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh32:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh33:
	ldr	w0, [x8]
Lloh34:
	adrp	x1, l_.str.3@PAGE
Lloh35:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_12:
	bl	_syslog
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_qname,8,3                      ; @qname
	.comm	_PF_LOG,4,2                     ; @PF_LOG
	.comm	_rule_log,4,2                   ; @rule_log
	.comm	_PF_LOG_ALL,4,2                 ; @PF_LOG_ALL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"/dev/pf"

	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_dev,4,2                        ; @dev
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.1:                               ; @.str.1
	.asciz	"can't open /dev/pf"

	.comm	_DIOCGETSTATUS,4,2              ; @DIOCGETSTATUS
l_.str.2:                               ; @.str.2
	.asciz	"DIOCGETSTATUS"

l_.str.3:                               ; @.str.3
	.asciz	"pf is disabled"

.subsections_via_symbols
