	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pfctl_clear_interface_flags    ## -- Begin function pfctl_clear_interface_flags
	.p2align	4, 0x90
_pfctl_clear_interface_flags:           ## @pfctl_clear_interface_flags
	.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	_PF_OPT_NOACTION@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	jne	LBB0_5
## %bb.1:
	movl	%esi, %ebx
	movq	_PFI_IFLAG_SKIP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	movq	_DIOCCLRIFFLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rdx
	callq	_ioctl
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_3:
	movq	_PF_OPT_QUIET@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	jne	LBB0_5
## %bb.4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_fprintf
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PF_OPT_NOACTION,4,2            ## @PF_OPT_NOACTION
	.comm	_PFI_IFLAG_SKIP,4,2             ## @PFI_IFLAG_SKIP
	.comm	_DIOCCLRIFFLAG,4,2              ## @DIOCCLRIFFLAG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DIOCCLRIFFLAG"

	.comm	_PF_OPT_QUIET,4,2               ## @PF_OPT_QUIET
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"pf: interface flags reset\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pfctl_clear_interface_flags    ; -- Begin function pfctl_clear_interface_flags
	.p2align	2
_pfctl_clear_interface_flags:           ; @pfctl_clear_interface_flags
	.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, _PF_OPT_NOACTION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PF_OPT_NOACTION@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w1
	b.ne	LBB0_5
; %bb.1:
	mov	x19, x1
Lloh3:
	adrp	x8, _PFI_IFLAG_SKIP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PFI_IFLAG_SKIP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh6:
	adrp	x8, _DIOCCLRIFFLAG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DIOCCLRIFFLAG@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_ioctl
	cbz	x0, LBB0_3
; %bb.2:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_3:
Lloh11:
	adrp	x8, _PF_OPT_QUIET@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PF_OPT_QUIET@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w19
	b.ne	LBB0_5
; %bb.4:
Lloh14:
	adrp	x8, _stderr@GOTPAGE
Lloh15:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_PF_OPT_NOACTION,4,2            ; @PF_OPT_NOACTION
	.comm	_PFI_IFLAG_SKIP,4,2             ; @PFI_IFLAG_SKIP
	.comm	_DIOCCLRIFFLAG,4,2              ; @DIOCCLRIFFLAG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DIOCCLRIFFLAG"

	.comm	_PF_OPT_QUIET,4,2               ; @PF_OPT_QUIET
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"pf: interface flags reset\n"

.subsections_via_symbols
