	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nat_PunchFW                    ## -- Begin function nat_PunchFW
	.p2align	4, 0x90
_nat_PunchFW:                           ## @nat_PunchFW
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %ecx
	movslq	4(%rdi), %rax
	cmpl	%eax, %ecx
	jne	LBB0_2
## %bb.1:
	movq	_la@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PKT_ALIAS_PUNCH_FW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_LibAliasSetMode
	jmp	LBB0_8
LBB0_2:
	leal	2(%rax), %edx
	movl	$-1, %r15d
	cmpl	%edx, %ecx
	jne	LBB0_8
## %bb.3:
	movq	%rdi, %rbx
	movq	8(%rdi), %rcx
	movl	(%rcx,%rax,4), %edi
	leaq	-32(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
	movq	%rax, %r14
	movq	-32(%rbp), %rax
	cmpb	$0, (%rax)
	jne	LBB0_8
## %bb.4:
	testq	%r14, %r14
	js	LBB0_8
## %bb.5:
	movq	8(%rbx), %rax
	movslq	4(%rbx), %rcx
	movl	4(%rax,%rcx,4), %edi
	leaq	-32(%rbp), %rsi
	movl	$10, %edx
	callq	_strtol
	movq	-32(%rbp), %rcx
	cmpb	$0, (%rcx)
	jne	LBB0_8
## %bb.6:
	testq	%rax, %rax
	js	LBB0_8
## %bb.7:
	movq	_la@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_LibAliasSetFWBase
	movl	(%rbx), %edi
	movq	_PKT_ALIAS_PUNCH_FW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%edx, %esi
	callq	_LibAliasSetMode
	xorl	%r15d, %r15d
LBB0_8:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_la,4,2                         ## @la
	.comm	_PKT_ALIAS_PUNCH_FW,4,2         ## @PKT_ALIAS_PUNCH_FW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nat_PunchFW                    ; -- Begin function nat_PunchFW
	.p2align	2
_nat_PunchFW:                           ; @nat_PunchFW
	.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
	ldp	w9, w8, [x0]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	cmp	w9, w8
	b.ne	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _la@GOTPAGE
Lloh1:
	ldr	x8, [x8, _la@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _PKT_ALIAS_PUNCH_FW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PKT_ALIAS_PUNCH_FW@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w1, #0
LBB0_2:
	bl	_LibAliasSetMode
	mov	w0, #0
	b	LBB0_10
LBB0_3:
	add	w10, w8, #2
	cmp	w9, w10
	b.ne	LBB0_9
; %bb.4:
	mov	x20, x0
	ldr	x9, [x0, #8]
	ldr	w0, [x9, x8, lsl #2]
	add	x1, sp, #8
	mov	w2, #10
	bl	_strtol
	mov	x19, x0
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	mov	w0, #-1
	cbnz	w8, LBB0_10
; %bb.5:
	tbnz	x19, #63, LBB0_10
; %bb.6:
	ldr	x8, [x20, #8]
	ldrsw	x9, [x20, #4]
	add	x8, x8, x9, lsl #2
	ldr	w0, [x8, #4]
	add	x1, sp, #8
	mov	w2, #10
	bl	_strtol
	mov	x2, x0
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	mov	w0, #-1
	cbnz	w8, LBB0_10
; %bb.7:
	tbnz	x2, #63, LBB0_10
; %bb.8:
Lloh6:
	adrp	x20, _la@GOTPAGE
Lloh7:
	ldr	x20, [x20, _la@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	x1, x19
	bl	_LibAliasSetFWBase
	ldr	w0, [x20]
Lloh8:
	adrp	x8, _PKT_ALIAS_PUNCH_FW@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PKT_ALIAS_PUNCH_FW@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x2, x1
	b	LBB0_2
LBB0_9:
	mov	w0, #-1
LBB0_10:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_la,4,2                         ; @la
	.comm	_PKT_ALIAS_PUNCH_FW,4,2         ; @PKT_ALIAS_PUNCH_FW
.subsections_via_symbols
