	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_sig_addr
_set_sig_addr:                          ## @set_sig_addr
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
	movq	%r8, %r13
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_nfct_help
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%r12d, %edi
	callq	_CTINFO2DIR
	testl	%r15d, %r15d
	jle	LBB0_14
## %bb.1:
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movslq	%eax, %r14
	movl	%r15d, %r12d
	xorl	%r15d, %r15d
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	addq	$4, %r13
	cmpq	%r15, %r12
	je	LBB0_14
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	movq	%r13, %rdx
	leaq	-56(%rbp), %rcx
	leaq	-80(%rbp), %r8
	callq	_get_h225_addr
	testq	%rax, %rax
	je	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax
	movq	(%rbx), %rcx
	movq	%r14, %rdx
	shlq	$4, %rdx
	cmpq	(%rcx,%rdx), %rax
	jne	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %rdi
	cmpq	(%rdi,%r14,8), %rsi
	je	LBB0_5
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	cmpq	8(%rcx,%rdx), %rax
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rdx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	cmpq	(%rax,%r14,8), %rdx
	jne	LBB0_13
## %bb.12:
	xorl	%r15d, %r15d
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	sete	%r15b
	movq	%r15, %r14
	shlq	$4, %r14
	addq	%r14, %rcx
	movq	(%rax,%r15,8), %r8
	leaq	L_.str(%rip), %rdi
	leaq	-56(%rbp), %rsi
	callq	_pr_debug
	addq	(%rbx), %r14
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax,%r15,8), %r9
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	movq	%r13, %rcx
	movq	%r14, %r8
	callq	_set_h225_addr
	jmp	LBB0_15
LBB0_14:
	xorl	%eax, %eax
LBB0_15:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	testl	%r15d, %r15d
	je	LBB0_6
## %bb.7:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rsi
	leaq	-56(%rbp), %rcx
	leaq	-80(%rbp), %r8
	movq	%rbx, %rdi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	callq	_get_h225_addr
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	-56(%rbp), %rdi
	callq	_ntohl
	andl	$-16777216, %eax                ## imm = 0xFF000000
	xorl	%ecx, %ecx
	cmpl	$2130706432, %eax               ## imm = 0x7F000000
	cmoveq	%rcx, %r15
	jmp	LBB0_9
LBB0_6:
	xorl	%r15d, %r15d
LBB0_9:
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-80(%rbp), %rdx
	movq	(%rbx), %rax
	xorl	%r14d, %r14d
	testl	%ecx, %ecx
	sete	%r14b
	movq	%r14, %r12
	shlq	$4, %r12
	leaq	(%rax,%r12), %rcx
	addq	$8, %rcx
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	(%r13), %rax
	movq	(%rax,%r14,8), %r8
	leaq	L_.str(%rip), %rdi
	leaq	-56(%rbp), %rsi
	callq	_pr_debug
	movl	%r15d, %eax
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rcx
	movq	(%rbx), %rax
	leaq	8(%rax,%r12), %r8
	movq	(%r13), %rax
	movq	(%rax,%r14,8), %r9
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	callq	_set_h225_addr
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nf_nat_ras: set signal address %pI4:%hu->%pI4:%hu\n"

	.no_dead_strip	_set_sig_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_sig_addr
_set_sig_addr:                          ; @set_sig_addr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x25, x5
	mov	x23, x4
	mov	x19, x3
	mov	x24, x2
	mov	x21, x1
	mov	x20, x0
	mov	x0, x1
	bl	_nfct_help
	mov	x22, x0
	mov	x0, x24
	bl	_CTINFO2DIR
	cmp	w25, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x24, x0
	str	x20, [sp, #8]                   ; 8-byte Folded Spill
	mov	x26, #0
	sxtw	x27, w24
	mov	w28, w25
	lsl	x20, x27, #4
	mov	x25, x23
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x26, x26, #1
	add	x25, x25, #4
	cmp	x28, x26
	b.eq	LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x19]
	add	x3, sp, #16
	add	x4, sp, #24
	mov	x0, x21
	mov	x2, x25
	bl	_get_h225_addr
	cbz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [sp, #16]
	ldr	x8, [x21]
	ldr	x10, [x8, x20]
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x10, [sp, #24]
	ldr	x11, [x22]
	ldr	x11, [x11, x27, lsl #3]
	cmp	x10, x11
	b.eq	LBB0_11
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x8, x27, lsl #4
	ldr	x10, [x10, #8]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x2, [sp, #24]
	ldr	x9, [x22]
	ldr	x10, [x9, x27, lsl #3]
	cmp	x2, x10
	b.ne	LBB0_2
; %bb.8:
	cmp	w24, #0
	cset	w10, eq
	lsl	x20, x10, #4
	add	x3, x8, x20
	lsl	x23, x10, #3
	ldr	x4, [x9, x23]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	add	x1, sp, #16
	bl	_pr_debug
	ldr	x8, [x21]
	add	x4, x8, x20
	ldr	x8, [x22]
	ldr	x5, [x8, x23]
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x19
	mov	w2, #0
	mov	x3, x25
	bl	_set_h225_addr
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_11:
	cbz	w26, LBB0_14
; %bb.12:
	ldr	x1, [x19]
	add	x3, sp, #16
	add	x4, sp, #24
	mov	x0, x21
	mov	x2, x23
	bl	_get_h225_addr
	cbz	x0, LBB0_15
; %bb.13:
	ldr	x0, [sp, #16]
	bl	_ntohl
	lsr	w8, w0, #24
	cmp	w8, #127
	csel	x26, xzr, x26, eq
	b	LBB0_15
LBB0_14:
	mov	x26, #0
LBB0_15:
	ldr	x25, [sp, #8]                   ; 8-byte Folded Reload
	ldr	x2, [sp, #24]
	ldr	x8, [x21]
	cmp	w24, #0
	cset	w9, eq
	lsl	x20, x9, #4
	add	x8, x8, x20
	add	x3, x8, #8
	ldr	x8, [x22]
	lsl	x24, x9, #3
	ldr	x4, [x8, x24]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	add	x1, sp, #16
	bl	_pr_debug
	add	x3, x23, w26, uxtw #2
	ldr	x8, [x21]
	add	x8, x8, x20
	add	x4, x8, #8
	ldr	x8, [x22]
	ldr	x5, [x8, x24]
	mov	x0, x25
	mov	x1, x19
	mov	w2, #0
	bl	_set_h225_addr
	b	LBB0_10
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nf_nat_ras: set signal address %pI4:%hu->%pI4:%hu\n"

	.no_dead_strip	_set_sig_addr
.subsections_via_symbols
