	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nat_q931
_nat_q931:                              ## @nat_q931
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movl	%edx, %r14d
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	24(%rbp), %rbx
	movq	16(%rbp), %r15
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_nfct_help
	movq	%rax, %r13
	movl	%r14d, %edi
	callq	_CTINFO2DIR
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_ntohs
	movq	%rax, %r14
	movq	8(%rbx), %rax
	movq	%rax, 48(%rbx)
	movq	_ip_nat_q931_expect@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	xorl	%eax, %eax
	testl	%r12d, %r12d
	sete	%al
	movl	%eax, (%rbx)
	movq	%r13, -120(%rbp)                ## 8-byte Spill
	movq	(%r13), %rax
	movslq	%r12d, %r13
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	cmpq	%r15, (%rax,%r13,8)
	jne	LBB0_2
## %bb.1:
	xorl	%ecx, %ecx
	testl	%r12d, %r12d
	sete	%cl
	movq	(%rax,%rcx,8), %rdi
	callq	_ntohs
	movq	%rax, %r14
LBB0_2:
	testq	%r14, %r14
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	je	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_htons
	movq	%rax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_nf_ct_expect_related
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	jne	LBB0_3
LBB0_5:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_net_ratelimit
	testq	%rax, %rax
	je	LBB0_13
## %bb.6:
	leaq	L_.str(%rip), %rdi
	callq	_printk
	jmp	LBB0_13
LBB0_7:
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	xorl	%edx, %edx
	testl	%r12d, %r12d
	sete	%dl
	movslq	%r15d, %rax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	leaq	(,%rdx,4), %rcx
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r13
	movq	%rcx, %r15
	addq	%rcx, %r13
	movq	%r14, %rdi
	callq	_htons
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	-128(%rbp), %r12                ## 8-byte Reload
	movq	%r12, %rsi
	xorl	%edx, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r13, %r8
	movq	%rax, %r9
	callq	_set_h225_addr
	testq	%rax, %rax
	je	LBB0_8
## %bb.14:
	movq	%rbx, %rdi
	callq	_nf_ct_unexpect_related
	movl	$-1, %ebx
	jmp	LBB0_13
LBB0_8:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	movq	-120(%rbp), %r13                ## 8-byte Reload
	movq	(%r13), %rax
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	movq	%rcx, (%rax,%rdx,8)
	movq	%r14, %rdi
	callq	_htons
	movq	(%r13), %rcx
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, (%rcx,%rdx,8)
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	%r12, %r15
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	jle	LBB0_12
## %bb.9:
	movq	(%r15), %rsi
	leaq	-64(%rbp), %rcx
	leaq	16(%rbp), %r8
	movq	%r12, %rdi
	movq	%r14, %rdx
	callq	_get_h225_addr
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:
	movl	-64(%rbp), %edi
	callq	_ntohl
	andl	$-16777216, %eax                ## imm = 0xFF000000
	cmpl	$2130706432, %eax               ## imm = 0x7F000000
	jne	LBB0_12
## %bb.11:
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	addq	(%r12), %r8
	movq	(%r13), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %r9
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	xorl	%edx, %edx
	movq	%r14, %rcx
	callq	_set_h225_addr
LBB0_12:
	leaq	32(%rbx), %r14
	movq	24(%rbx), %rdi
	callq	_ntohs
	movq	%rax, %r15
	movq	8(%rbx), %rdi
	addq	$16, %rbx
	callq	_ntohs
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	movq	%rax, %r8
	callq	_pr_debug
	xorl	%ebx, %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ip_nat_q931_expect,4,2         ## @ip_nat_q931_expect
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nf_nat_ras: out of TCP ports\n"

L_.str.1:                               ## @.str.1
	.asciz	"nf_nat_ras: expect Q.931 %pI4:%hu->%pI4:%hu\n"

	.no_dead_strip	_nat_q931
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nat_q931
_nat_q931:                              ; @nat_q931
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x7
	mov	x26, x6
	mov	x25, x5
	mov	x22, x4
	mov	x21, x3
	mov	x27, x2
	mov	x23, x1
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	str	x6, [sp, #40]
	mov	x0, x1
	bl	_nfct_help
	mov	x24, x0
	mov	x0, x27
	bl	_CTINFO2DIR
	mov	x28, x0
	mov	x0, x26
	bl	_ntohs
	ldr	x8, [x19, #8]
	str	x8, [x19, #48]
Lloh0:
	adrp	x8, _ip_nat_q931_expect@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ip_nat_q931_expect@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #40]
	cmp	w28, #0
	cset	w8, eq
	str	w8, [x19]
	ldr	x8, [x24]
	sxtw	x20, w28
	ldr	x9, [x8, w28, sxtw #3]
	cmp	x9, x26
	b.eq	LBB0_6
; %bb.1:
	mov	x27, x0
	cbz	x0, LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x27
	bl	_htons
	str	x0, [x19, #8]
	mov	x0, x19
	bl	_nf_ct_expect_related
	cbz	x0, LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	adds	x27, x27, #1
	b.lo	LBB0_2
LBB0_4:
	bl	_net_ratelimit
	cbz	x0, LBB0_15
; %bb.5:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printk
	b	LBB0_14
LBB0_6:
	cmp	w20, #0
	cset	w9, eq
	ldr	x0, [x8, w9, uxtw #3]
	bl	_ntohs
	mov	x27, x0
	cbnz	x0, LBB0_2
	b	LBB0_4
LBB0_7:
	cmp	w20, #0
	mov	x8, x25
	cset	w25, eq
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
	add	x28, x22, w8, sxtw #2
	ldr	x8, [x23]
	str	x22, [sp, #8]                   ; 8-byte Folded Spill
	add	x22, x8, w25, uxtw #2
	mov	x0, x27
	bl	_htons
	mov	x5, x0
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x21
	mov	w2, #0
	mov	x3, x28
	mov	x4, x22
	bl	_set_h225_addr
	cbz	x0, LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_nf_ct_unexpect_related
	mov	w0, #-1
	b	LBB0_15
LBB0_9:
	ldr	x8, [x24]
	str	x26, [x8, x20, lsl #3]
	mov	x0, x27
	bl	_htons
	ldr	x8, [x24]
	str	x0, [x8, x25, lsl #3]
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	cmp	w8, #1
	ldr	x20, [sp, #8]                   ; 8-byte Folded Reload
	b.lt	LBB0_13
; %bb.10:
	ldr	x1, [x21]
	add	x3, sp, #32
	add	x4, sp, #40
	mov	x0, x23
	mov	x2, x20
	bl	_get_h225_addr
	cbz	x0, LBB0_13
; %bb.11:
	ldr	w0, [sp, #32]
	bl	_ntohl
	lsr	w8, w0, #24
	cmp	w8, #127
	b.ne	LBB0_13
; %bb.12:
	ldr	x8, [x23]
	add	x4, x8, x25, lsl #2
	ldr	x8, [x24]
	ldr	x5, [x8, x25, lsl #3]
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x21
	mov	w2, #0
	mov	x3, x20
	bl	_set_h225_addr
LBB0_13:
	add	x20, x19, #32
	ldr	x0, [x19, #24]
	bl	_ntohs
	mov	x21, x0
	add	x22, x19, #16
	ldr	x0, [x19, #8]
	bl	_ntohs
	mov	x4, x0
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	bl	_pr_debug
LBB0_14:
	mov	w0, #0
LBB0_15:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ip_nat_q931_expect,4,2         ; @ip_nat_q931_expect
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nf_nat_ras: out of TCP ports\n"

l_.str.1:                               ; @.str.1
	.asciz	"nf_nat_ras: expect Q.931 %pI4:%hu->%pI4:%hu\n"

	.no_dead_strip	_nat_q931
.subsections_via_symbols
