	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bridge_do_pfctl                ## -- Begin function bridge_do_pfctl
	.p2align	4, 0x90
_bridge_do_pfctl:                       ## @bridge_do_pfctl
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_LEAF_begemotBridgeLayer2PfStatus@GOTPCREL(%rip), %rax
	movl	$-2, %ebx
	cmpl	%edi, (%rax)
	jle	LBB0_8
## %bb.1:
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	_SNMP_OP_SET@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_2
## %bb.3:
	movl	(%r14), %eax
	movl	%eax, -60(%rbp)
	movl	$4, %r12d
	jmp	LBB0_4
LBB0_2:
	xorl	%r12d, %r12d
LBB0_4:
	movq	$4, -72(%rbp)
	movq	_bridge_sysctl@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_bridge_pf_sysctl@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %r13
	movl	4(%rax,%r13,8), %ecx
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %rdi
	callq	_asprintf
	movq	-56(%rbp), %rdi
	movl	$-1, %ebx
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.5:
	xorl	%eax, %eax
	movq	_SNMP_OP_SET@GOTPCREL(%rip), %rcx
	cmpl	%r15d, (%rcx)
	leaq	-60(%rbp), %rcx
	cmovneq	%rax, %rcx
	leaq	-44(%rbp), %rsi
	leaq	-72(%rbp), %rdx
	movq	%r12, %r8
	callq	_sysctlbyname
	cmpl	$-1, %eax
	je	LBB0_6
## %bb.7:
	movl	-44(%rbp), %eax
	movq	_bridge_pf_sysctl@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rcx,%r13,8)
	movl	-44(%rbp), %eax
	movl	%eax, (%r14)
	movq	-56(%rbp), %rdi
	callq	_free
	movl	-44(%rbp), %ebx
	jmp	LBB0_8
LBB0_6:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	-56(%rbp), %r15
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edi
	movq	%r15, %rdx
	movl	%eax, %ecx
	callq	_syslog
	movq	-56(%rbp), %rdi
	callq	_free
LBB0_8:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LEAF_begemotBridgeLayer2PfStatus,4,2 ## @LEAF_begemotBridgeLayer2PfStatus
	.comm	_SNMP_OP_SET,4,2                ## @SNMP_OP_SET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s%s"

	.comm	_bridge_sysctl,4,2              ## @bridge_sysctl
	.comm	_bridge_pf_sysctl,8,3           ## @bridge_pf_sysctl
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
L_.str.1:                               ## @.str.1
	.asciz	"sysctl(%s) failed - %s"

	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bridge_do_pfctl                ; -- Begin function bridge_do_pfctl
	.p2align	2
_bridge_do_pfctl:                       ; @bridge_do_pfctl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, _LEAF_begemotBridgeLayer2PfStatus@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LEAF_begemotBridgeLayer2PfStatus@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.le	LBB0_3
; %bb.1:
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh3:
	adrp	x24, _SNMP_OP_SET@GOTPAGE
Lloh4:
	ldr	x24, [x24, _SNMP_OP_SET@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w8, w1
	b.ne	LBB0_4
; %bb.2:
	ldr	w8, [x19]
	str	w8, [sp, #8]
	mov	w22, #4
	b	LBB0_5
LBB0_3:
	mov	w0, #-2
	b	LBB0_10
LBB0_4:
	mov	x22, #0
LBB0_5:
	mov	w8, #4
	str	x8, [sp, #16]
Lloh5:
	adrp	x8, _bridge_sysctl@GOTPAGE
Lloh6:
	ldr	x8, [x8, _bridge_sysctl@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x23, _bridge_pf_sysctl@GOTPAGE
Lloh9:
	ldr	x23, [x23, _bridge_pf_sysctl@GOTPAGEOFF]
	ldr	x8, [x23]
	add	x8, x8, w20, sxtw #3
	ldr	w3, [x8, #4]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #24
	bl	_asprintf
	ldr	x0, [sp, #24]
	cbz	x0, LBB0_9
; %bb.6:
	ldr	w8, [x24]
	cmp	w8, w21
	add	x8, sp, #8
	csel	x3, x8, xzr, eq
	add	x1, sp, #12
	add	x2, sp, #16
	mov	x4, x22
	bl	_sysctlbyname
	cmn	w0, #1
	b.eq	LBB0_8
; %bb.7:
	sxtw	x8, w20
	ldr	w9, [sp, #12]
	ldr	x10, [x23]
	lsl	x8, x8, #3
	str	w9, [x10, x8]
	ldr	w8, [sp, #12]
	str	w8, [x19]
	ldr	x0, [sp, #24]
	bl	_free
	ldr	w0, [sp, #12]
	b	LBB0_10
LBB0_8:
Lloh12:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh14:
	ldr	w19, [x8]
	ldr	x20, [sp, #24]
Lloh15:
	adrp	x8, _errno@GOTPAGE
Lloh16:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_strerror
	mov	x3, x0
Lloh18:
	adrp	x1, l_.str.1@PAGE
Lloh19:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_syslog
	ldr	x0, [sp, #24]
	bl	_free
LBB0_9:
	mov	w0, #-1
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_LEAF_begemotBridgeLayer2PfStatus,4,2 ; @LEAF_begemotBridgeLayer2PfStatus
	.comm	_SNMP_OP_SET,4,2                ; @SNMP_OP_SET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%s"

	.comm	_bridge_sysctl,4,2              ; @bridge_sysctl
	.comm	_bridge_pf_sysctl,8,3           ; @bridge_pf_sysctl
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
l_.str.1:                               ; @.str.1
	.asciz	"sysctl(%s) failed - %s"

	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
