	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function SetupPunchFW
_SetupPunchFW:                          ## @SetupPunchFW
	.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
	leaq	L_.str(%rip), %rsi
	leaq	-16(%rbp), %rdx
	leaq	-12(%rbp), %rcx
	callq	_sscanf
	cmpl	$2, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_2:
	movl	-16(%rbp), %eax
	movl	-12(%rbp), %ecx
	leal	(%rax,%rcx), %edi
	decl	%edi
	callq	_CheckIpfwRulenum
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_4:
	movq	_mla@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	-16(%rbp), %esi
	movl	-12(%rbp), %edx
	callq	_LibAliasSetFWBase
	movl	(%rbx), %edi
	movq	_PKT_ALIAS_PUNCH_FW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, %esi
	callq	_LibAliasSetMode
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u:%u"

L_.str.1:                               ## @.str.1
	.asciz	"punch_fw: basenumber:count parameter required"

L_.str.2:                               ## @.str.2
	.asciz	"punch_fw: basenumber:count parameter should fit the maximum allowed rule numbers"

	.comm	_mla,4,2                        ## @mla
	.comm	_PKT_ALIAS_PUNCH_FW,4,2         ## @PKT_ALIAS_PUNCH_FW
	.no_dead_strip	_SetupPunchFW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function SetupPunchFW
_SetupPunchFW:                          ; @SetupPunchFW
	.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	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	add	x3, sp, #8
	bl	_sscanf
	cmp	w0, #2
	b.eq	LBB0_2
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_2:
	ldp	w9, w8, [sp, #8]
	add	w8, w8, w9
	sub	w0, w8, #1
	bl	_CheckIpfwRulenum
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.3:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_4:
Lloh6:
	adrp	x19, _mla@GOTPAGE
Lloh7:
	ldr	x19, [x19, _mla@GOTPAGEOFF]
	ldr	w0, [x19]
	ldp	w2, w1, [sp, #8]
	bl	_LibAliasSetFWBase
	ldr	w0, [x19]
Lloh8:
	adrp	x8, _PKT_ALIAS_PUNCH_FW@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PKT_ALIAS_PUNCH_FW@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x2, x1
	bl	_LibAliasSetMode
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u:%u"

l_.str.1:                               ; @.str.1
	.asciz	"punch_fw: basenumber:count parameter required"

l_.str.2:                               ; @.str.2
	.asciz	"punch_fw: basenumber:count parameter should fit the maximum allowed rule numbers"

	.comm	_mla,4,2                        ; @mla
	.comm	_PKT_ALIAS_PUNCH_FW,4,2         ; @PKT_ALIAS_PUNCH_FW
	.no_dead_strip	_SetupPunchFW
.subsections_via_symbols
