	.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
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_qname@GOTPCREL(%rip), %rax
	movq	%rdi, (%rax)
	movq	_tagname@GOTPCREL(%rip), %rax
	movq	%rsi, (%rax)
	cmpl	$1, %edx
	je	LBB0_1
## %bb.2:
	cmpl	$2, %edx
	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), %rbx
	movl	%eax, (%rbx)
	cmpl	$-1, %eax
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
	movl	(%rbx), %eax
LBB0_7:
	movq	_DIOCGETSTATUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-16(%rbp), %rdx
	movl	%eax, %edi
	callq	_ioctl
	cmpl	$-1, %eax
	je	LBB0_8
## %bb.9:
	cmpl	$0, -16(%rbp)
	je	LBB0_10
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
	cmpl	$0, -16(%rbp)
	jne	LBB0_11
LBB0_10:
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	callq	_errx
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_qname,8,3                      ## @qname
	.comm	_tagname,8,3                    ## @tagname
	.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
L_.str.1:                               ## @.str.1
	.asciz	"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, #48
	.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
Lloh0:
	adrp	x8, _qname@GOTPAGE
Lloh1:
	ldr	x8, [x8, _qname@GOTPAGEOFF]
Lloh2:
	str	x0, [x8]
Lloh3:
	adrp	x8, _tagname@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tagname@GOTPAGEOFF]
Lloh5:
	str	x1, [x8]
	cmp	w2, #1
	b.eq	LBB0_3
; %bb.1:
	cmp	w2, #2
	b.ne	LBB0_5
; %bb.2:
Lloh6:
	adrp	x8, _PF_LOG_ALL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PF_LOG_ALL@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x8, _PF_LOG@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PF_LOG@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _rule_log@GOTPAGE
Lloh11:
	ldr	x9, [x9, _rule_log@GOTPAGEOFF]
Lloh12:
	str	w8, [x9]
LBB0_5:
Lloh13:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_open
Lloh18:
	adrp	x19, _dev@GOTPAGE
Lloh19:
	ldr	x19, [x19, _dev@GOTPAGEOFF]
	str	w0, [x19]
	cmn	w0, #1
	b.ne	LBB0_7
; %bb.6:
Lloh20:
	adrp	x1, l_.str.1@PAGE
Lloh21:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
	ldr	w0, [x19]
LBB0_7:
Lloh22:
	adrp	x8, _DIOCGETSTATUS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _DIOCGETSTATUS@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_ioctl
	cmn	w0, #1
	b.eq	LBB0_10
; %bb.8:
	ldr	w8, [sp, #8]
	cbz	w8, LBB0_11
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_10:
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
	ldr	w8, [sp, #8]
	cbnz	w8, LBB0_9
LBB0_11:
Lloh27:
	adrp	x1, l_.str.3@PAGE
Lloh28:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_errx
	b	LBB0_9
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_qname,8,3                      ; @qname
	.comm	_tagname,8,3                    ; @tagname
	.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
l_.str.1:                               ; @.str.1
	.asciz	"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
