	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pfctl_enable                   ## -- Begin function pfctl_enable
	.p2align	4, 0x90
_pfctl_enable:                          ## @pfctl_enable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movl	%edi, %ebx
	movq	_DIOCSTART@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ioctl
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EEXIST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.2:
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_3
LBB0_4:
	movq	_ESRCH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
LBB0_3:
	movl	$1, %edi
	callq	_errx
	jmp	LBB0_7
LBB0_6:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_7:
	movq	_PF_OPT_QUIET@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	jne	LBB0_9
## %bb.8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_fprintf
LBB0_9:
	movq	_altqsupport@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_13
## %bb.10:
	movq	_DIOCSTARTALTQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_ioctl
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EEXIST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_13
## %bb.12:
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_13:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DIOCSTART,4,2                  ## @DIOCSTART
	.comm	_errno,8,3                      ## @errno
	.comm	_EEXIST,8,3                     ## @EEXIST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pf already enabled"

	.comm	_ESRCH,8,3                      ## @ESRCH
L_.str.1:                               ## @.str.1
	.asciz	"pfil registeration failed"

L_.str.2:                               ## @.str.2
	.asciz	"DIOCSTART"

	.comm	_PF_OPT_QUIET,4,2               ## @PF_OPT_QUIET
	.comm	_stderr,4,2                     ## @stderr
L_.str.3:                               ## @.str.3
	.asciz	"pf enabled\n"

	.comm	_altqsupport,8,3                ## @altqsupport
	.comm	_DIOCSTARTALTQ,4,2              ## @DIOCSTARTALTQ
L_.str.4:                               ## @.str.4
	.asciz	"DIOCSTARTALTQ"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pfctl_enable                   ; -- Begin function pfctl_enable
	.p2align	2
_pfctl_enable:                          ; @pfctl_enable
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _DIOCSTART@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DIOCSTART@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_ioctl
Lloh3:
	adrp	x21, _errno@GOTPAGE
Lloh4:
	ldr	x21, [x21, _errno@GOTPAGEOFF]
Lloh5:
	adrp	x22, _EEXIST@GOTPAGE
Lloh6:
	ldr	x22, [x22, _EEXIST@GOTPAGEOFF]
	cbz	x0, LBB0_7
; %bb.1:
	ldr	x8, [x21]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_5
LBB0_3:
Lloh9:
	adrp	x9, _ESRCH@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ESRCH@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_5:
	mov	w0, #1
	bl	_errx
	b	LBB0_7
LBB0_6:
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_7:
Lloh16:
	adrp	x8, _PF_OPT_QUIET@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PF_OPT_QUIET@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	tst	w8, w20
	b.ne	LBB0_9
; %bb.8:
Lloh19:
	adrp	x8, _stderr@GOTPAGE
Lloh20:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x1, l_.str.3@PAGE
Lloh23:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_fprintf
LBB0_9:
Lloh24:
	adrp	x8, _altqsupport@GOTPAGE
Lloh25:
	ldr	x8, [x8, _altqsupport@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	cbz	x8, LBB0_13
; %bb.10:
Lloh27:
	adrp	x8, _DIOCSTARTALTQ@GOTPAGE
Lloh28:
	ldr	x8, [x8, _DIOCSTARTALTQ@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ioctl
	cbz	x0, LBB0_13
; %bb.11:
	ldr	x8, [x21]
	ldr	x9, [x22]
	cmp	x8, x9
	b.eq	LBB0_13
; %bb.12:
Lloh30:
	adrp	x1, l_.str.4@PAGE
Lloh31:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_13:
	mov	w0, #0
	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	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_DIOCSTART,4,2                  ; @DIOCSTART
	.comm	_errno,8,3                      ; @errno
	.comm	_EEXIST,8,3                     ; @EEXIST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pf already enabled"

	.comm	_ESRCH,8,3                      ; @ESRCH
l_.str.1:                               ; @.str.1
	.asciz	"pfil registeration failed"

l_.str.2:                               ; @.str.2
	.asciz	"DIOCSTART"

	.comm	_PF_OPT_QUIET,4,2               ; @PF_OPT_QUIET
	.comm	_stderr,4,2                     ; @stderr
l_.str.3:                               ; @.str.3
	.asciz	"pf enabled\n"

	.comm	_altqsupport,8,3                ; @altqsupport
	.comm	_DIOCSTARTALTQ,4,2              ; @DIOCSTARTALTQ
l_.str.4:                               ; @.str.4
	.asciz	"DIOCSTARTALTQ"

.subsections_via_symbols
