	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function process_register_response
_process_register_response:             ## @process_register_response
	.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	%r8d, %ebx
	movl	%ecx, %r12d
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r15
	leaq	-72(%rbp), %rsi
	callq	_nf_ct_get
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_nfct_help
	movq	%rax, %r14
	movl	-72(%rbp), %edi
	callq	_CTINFO2DIR
	movl	$0, -64(%rbp)
	movl	$0, -60(%rbp)
	cmpl	%r12d, (%r14)
	jne	LBB0_4
## %bb.1:
	movq	%r15, %r14
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	leal	-100(%rbx), %ecx
	cmpl	$99, %ecx
	jbe	LBB0_4
## %bb.2:
	addl	$-300, %ebx                     ## imm = 0xFED4
	cmpl	$-100, %ebx
	jae	LBB0_6
LBB0_3:
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_flush_expectations
LBB0_4:
	movq	_NF_ACCEPT@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	%eax, %r12d
	movq	%r14, %rbx
	movq	(%r14), %rsi
	movl	(%r15), %ecx
	movq	_SIP_HDR_EXPIRES@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	subq	$8, %rsp
	leaq	-56(%rbp), %rax
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	leaq	-44(%rbp), %r9
	movq	%r13, %rdi
	xorl	%edx, %edx
	pushq	%rax
	callq	_ct_sip_get_header
	addq	$16, %rsp
	testq	%rax, %rax
	jle	LBB0_8
## %bb.7:
	movl	-44(%rbp), %edi
	addq	(%rbx), %rdi
	xorl	%esi, %esi
	movl	$10, %edx
	callq	_simple_strtoul
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
LBB0_8:
	movl	%r12d, %ebx
	leaq	-88(%rbp), %r12
	shlq	$2, %rbx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, -52(%rbp)
	movq	(%r14), %rsi
	movl	(%r15), %ecx
	movq	_SIP_HDR_CONTACT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r13, %rdi
	leaq	-64(%rbp), %rdx
	leaq	-60(%rbp), %r9
	leaq	-68(%rbp), %rax
	pushq	%rax
	pushq	%r12
	leaq	-56(%rbp), %rax
	pushq	%rax
	leaq	-44(%rbp), %rax
	pushq	%rax
	callq	_ct_sip_parse_header_uri
	addq	$32, %rsp
	testl	%eax, %eax
	js	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	je	LBB0_3
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	(%r13), %rdi
	addq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_nf_inet_addr_cmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	(%r14), %rsi
	movl	-56(%rbp), %edx
	addl	-44(%rbp), %edx
	movl	(%r15), %ecx
	movq	%r13, %rdi
	leaq	L_.str(%rip), %r8
	xorl	%r9d, %r9d
	leaq	-52(%rbp), %rax
	pushq	%rax
	pushq	$0
	callq	_ct_sip_parse_numerical_param
	addq	$16, %rsp
	testl	%eax, %eax
	js	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	-52(%rbp), %ecx
	testl	%ecx, %ecx
	je	LBB0_3
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	-68(%rbp), %edx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_refresh_signalling_expectation
	testq	%rax, %rax
	je	LBB0_9
	jmp	LBB0_4
LBB0_16:
	movq	_NF_DROP@GOTPCREL(%rip), %rax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_NF_ACCEPT,4,2                  ## @NF_ACCEPT
	.comm	_SIP_HDR_EXPIRES,4,2            ## @SIP_HDR_EXPIRES
	.comm	_SIP_HDR_CONTACT,4,2            ## @SIP_HDR_CONTACT
	.comm	_NF_DROP,4,2                    ## @NF_DROP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"expires="

	.no_dead_strip	_process_register_response
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function process_register_response
_process_register_response:             ; @process_register_response
	.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	x22, x4
	mov	x24, x3
	mov	x19, x2
	mov	x20, x1
	add	x1, sp, #44
	bl	_nf_ct_get
	mov	x21, x0
	bl	_nfct_help
	mov	x25, x0
	ldr	w0, [sp, #44]
	bl	_CTINFO2DIR
	stp	wzr, wzr, [sp, #20]
	ldr	w8, [x25]
	cmp	w8, w24
	b.ne	LBB0_4
; %bb.1:
	sub	w8, w22, #100
	cmp	w8, #99
	b.ls	LBB0_4
; %bb.2:
	sub	w8, w22, #300
	cmn	w8, #100
	b.hs	LBB0_6
LBB0_3:
	mov	x0, x21
	mov	w1, #0
	bl	_flush_expectations
LBB0_4:
Lloh0:
	adrp	x8, _NF_ACCEPT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NF_ACCEPT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_5:
	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
LBB0_6:
	mov	x23, x0
	ldr	x1, [x20]
	ldr	w3, [x19]
Lloh3:
	adrp	x8, _SIP_HDR_EXPIRES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SIP_HDR_EXPIRES@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	add	x5, sp, #32
	add	x6, sp, #28
	mov	x0, x21
	mov	w2, #0
	bl	_ct_sip_get_header
	cmp	x0, #1
	b.lt	LBB0_8
; %bb.7:
	ldr	x8, [x20]
	ldr	w9, [sp, #32]
	add	x0, x8, x9
	mov	x1, #0
	mov	w2, #10
	bl	_simple_strtoul
	mov	x22, x0
	b	LBB0_9
LBB0_8:
	mov	w22, #0
LBB0_9:
	mov	w25, w23
Lloh6:
	adrp	x26, _SIP_HDR_CONTACT@GOTPAGE
Lloh7:
	ldr	x26, [x26, _SIP_HDR_CONTACT@GOTPAGEOFF]
	add	x27, sp, #36
	add	x28, sp, #40
Lloh8:
	adrp	x24, _NF_DROP@GOTPAGE
Lloh9:
	ldr	x24, [x24, _NF_DROP@GOTPAGEOFF]
Lloh10:
	adrp	x23, l_.str@PAGE
Lloh11:
	add	x23, x23, l_.str@PAGEOFF
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	str	w22, [sp, #16]
	ldr	x1, [x20]
	ldr	w3, [x19]
	ldr	w4, [x26]
	stp	x28, x27, [sp]
	add	x2, sp, #24
	add	x5, sp, #20
	add	x6, sp, #32
	add	x7, sp, #28
	mov	x0, x21
	bl	_ct_sip_parse_header_uri
	tbnz	w0, #31, LBB0_17
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	cbz	w0, LBB0_3
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x21]
	add	x0, x8, x25, lsl #2
	add	x1, sp, #40
	bl	_nf_inet_addr_cmp
	cbz	w0, LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x1, [x20]
	ldp	w9, w8, [sp, #28]
	add	w2, w9, w8
	ldr	w3, [x19]
	add	x7, sp, #16
	mov	x0, x21
	mov	x4, x23
	mov	x5, #0
	mov	x6, #0
	bl	_ct_sip_parse_numerical_param
	tbnz	w0, #31, LBB0_17
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w3, [sp, #16]
	cbz	w3, LBB0_3
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w2, [sp, #36]
	add	x1, sp, #40
	mov	x0, x21
	bl	_refresh_signalling_expectation
	cbz	x0, LBB0_10
; %bb.16:
Lloh12:
	adrp	x24, _NF_ACCEPT@GOTPAGE
Lloh13:
	ldr	x24, [x24, _NF_ACCEPT@GOTPAGEOFF]
LBB0_17:
	ldr	w0, [x24]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_NF_ACCEPT,4,2                  ; @NF_ACCEPT
	.comm	_SIP_HDR_EXPIRES,4,2            ; @SIP_HDR_EXPIRES
	.comm	_SIP_HDR_CONTACT,4,2            ; @SIP_HDR_CONTACT
	.comm	_NF_DROP,4,2                    ; @NF_DROP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"expires="

	.no_dead_strip	_process_register_response
.subsections_via_symbols
