	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pfctl_set_optimization         ## -- Begin function pfctl_set_optimization
	.p2align	4, 0x90
_pfctl_set_optimization:                ## @pfctl_set_optimization
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_loadopt@GOTPCREL(%rip), %rax
	movq	_PFCTL_FLAG_OPTION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_pf_hints@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	8(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.4:
	movl	$24, %ebx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_strcasecmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%r13
	movq	(%r12), %rax
	movq	(%rax,%rbx), %rsi
	addq	$16, %rbx
	testq	%rsi, %rsi
	jne	LBB0_5
	jmp	LBB0_8
LBB0_1:
	xorl	%r12d, %r12d
	jmp	LBB0_18
LBB0_3:
	xorl	%ecx, %ecx
	jmp	LBB0_9
LBB0_6:
	movq	(%r12), %rax
LBB0_8:
	movl	%r13d, %ecx
LBB0_9:
	shlq	$4, %rcx
	movq	(%rax,%rcx), %rbx
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.10:
	movq	8(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_12
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edx
	movq	%r14, %rdi
	movl	$1, %ecx
	callq	_pfctl_set_timeout
	testl	%eax, %eax
	jne	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_16 Depth=1
	movq	24(%rbx), %rsi
	addq	$16, %rbx
	testq	%rsi, %rsi
	jne	LBB0_16
LBB0_12:
	movq	_PF_OPT_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r12d, %r12d
	testl	%eax, (%r14)
	je	LBB0_18
## %bb.13:
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	callq	_printf
	jmp	LBB0_18
LBB0_14:
	leaq	L_.str(%rip), %rdi
	callq	_warnx
	movl	$1, %r12d
	jmp	LBB0_18
LBB0_17:
	movl	%eax, %r12d
LBB0_18:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_loadopt,4,2                    ## @loadopt
	.comm	_PFCTL_FLAG_OPTION,4,2          ## @PFCTL_FLAG_OPTION
	.comm	_pf_hints,8,3                   ## @pf_hints
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid state timeouts optimization"

	.comm	_PF_OPT_VERBOSE,4,2             ## @PF_OPT_VERBOSE
L_.str.1:                               ## @.str.1
	.asciz	"set optimization %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pfctl_set_optimization         ; -- Begin function pfctl_set_optimization
	.p2align	2
_pfctl_set_optimization:                ; @pfctl_set_optimization
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, _loadopt@GOTPAGE
Lloh1:
	ldr	x8, [x8, _loadopt@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PFCTL_FLAG_OPTION@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PFCTL_FLAG_OPTION@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.1:
	mov	x19, x1
	mov	x20, x0
Lloh6:
	adrp	x22, _pf_hints@GOTPAGE
Lloh7:
	ldr	x22, [x22, _pf_hints@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x1, [x8, #8]
	cbz	x1, LBB0_5
; %bb.2:
	mov	x21, #0
	mov	w23, #24
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_strcasecmp
	cbz	x0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	ldr	x8, [x22]
	ldr	x1, [x8, x23]
	add	x23, x23, #16
	cbnz	x1, LBB0_3
	b	LBB0_7
LBB0_5:
	mov	x9, #0
	b	LBB0_8
LBB0_6:
	ldr	x8, [x22]
LBB0_7:
	and	x9, x21, #0xffffffff
LBB0_8:
	lsl	x9, x9, #4
	ldr	x21, [x8, x9]
	cbz	x21, LBB0_15
; %bb.9:
	ldr	x1, [x21, #8]
	cbz	x1, LBB0_12
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x21]
	mov	x0, x20
	mov	w3, #1
	bl	_pfctl_set_timeout
	cbnz	w0, LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x1, [x21, #24]
	add	x21, x21, #16
	cbnz	x1, LBB0_10
LBB0_12:
	ldr	w8, [x20]
Lloh8:
	adrp	x9, _PF_OPT_VERBOSE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PF_OPT_VERBOSE@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_printf
LBB0_14:
	mov	w0, #0
	b	LBB0_16
LBB0_15:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warnx
	mov	w0, #1
LBB0_16:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_loadopt,4,2                    ; @loadopt
	.comm	_PFCTL_FLAG_OPTION,4,2          ; @PFCTL_FLAG_OPTION
	.comm	_pf_hints,8,3                   ; @pf_hints
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid state timeouts optimization"

	.comm	_PF_OPT_VERBOSE,4,2             ; @PF_OPT_VERBOSE
l_.str.1:                               ; @.str.1
	.asciz	"set optimization %s\n"

.subsections_via_symbols
