	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ForceRedirectToUrl             ## -- Begin function ForceRedirectToUrl
	.p2align	4, 0x90
_ForceRedirectToUrl:                    ## @ForceRedirectToUrl
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.2:
	movq	%rdx, %rbx
	testq	%rdx, %rdx
	je	LBB0_16
## %bb.3:
	testq	%rcx, %rcx
	je	LBB0_16
## %bb.4:
	movq	(%rbx), %rax
	movq	_L3_IPV4@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	je	LBB0_6
## %bb.5:
	movq	_L3_IPV6@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_16
LBB0_6:
	movq	8(%rbx), %rax
	movq	_L4_TCP@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_16
## %bb.7:
	movq	48(%rbx), %r13
	testq	%r13, %r13
	je	LBB0_16
## %bb.8:
	movq	%r15, %rsi
	movq	%rcx, %rdx
	callq	_BuildRedirectToUrlPayload
	testq	%rax, %rax
	je	LBB0_16
## %bb.9:
	movl	(%rax), %ecx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	leal	120(%rcx), %edi
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	_ZeroMalloc
	movq	%rax, %r12
	movl	116(%r13), %eax
	movl	%eax, 112(%r12)
	movl	112(%r13), %eax
	movl	%eax, 116(%r12)
	movq	104(%r13), %rax
	movq	%rax, 96(%r12)
	movq	96(%r13), %rdi
	callq	_Endian32
	addq	40(%rbx), %rax
	movq	%rax, %rdi
	callq	_Endian32
	movq	%rax, 104(%r12)
	movq	%r12, %rdi
	movl	$5, %esi
	callq	_TCP_SET_HEADER_SIZE
	movq	_TCP_ACK@GOTPCREL(%rip), %rax
	movq	_TCP_PSH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 4(%r12)
	movl	$65535, %edi                    ## imm = 0xFFFF
	callq	_Endian16
	movq	%rax, 88(%r12)
	movq	%r12, %rdi
	addq	$480, %rdi                      ## imm = 0x1E0
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rsi
	movl	(%rax), %edx
	callq	_Copy
	movq	(%rbx), %rax
	cmpq	(%r14), %rax
	jne	LBB0_11
## %bb.10:
	movq	24(%rbx), %rax
	movl	(%rax), %esi
	movl	4(%rax), %edi
	movq	_IP_PROTO_TCP@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r12, %rcx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	xorl	%r9d, %r9d
	callq	_CalcChecksumForIPv4
	jmp	LBB0_12
LBB0_11:
	movq	16(%rbx), %rsi
	leaq	4(%rsi), %rdi
	movq	_IP_PROTO_TCP@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r12, %rcx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	xorl	%r9d, %r9d
	callq	_CalcChecksumForIPv6
LBB0_12:
	movl	%eax, 48(%r12)
	xorl	%eax, %eax
	callq	_NewBuf
	movq	%rax, %r13
	movq	32(%rbx), %rax
	movq	128(%rax), %rsi
	movq	%r13, %rdi
	movl	$6, %edx
	callq	_WriteBuf
	movq	32(%rbx), %rax
	movq	120(%rax), %rsi
	movq	%r13, %rdi
	movl	$6, %edx
	callq	_WriteBuf
	movq	32(%rbx), %rsi
	movq	%r13, %rdi
	movl	$2, %edx
	callq	_WriteBuf
	movq	(%rbx), %rax
	cmpq	(%r14), %rax
	jne	LBB0_14
## %bb.13:
	leaq	-184(%rbp), %r14
	movq	%r14, %rdi
	movl	$120, %esi
	callq	_Zero
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_IPV4_SET_VERSION
	movq	%r14, %rdi
	movl	$5, %esi
	callq	_IPV4_SET_HEADER_LEN
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	addl	$240, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_Endian16
	movq	%rax, -104(%rbp)
	xorl	%eax, %eax
	callq	_Rand16
	movl	%eax, %edi
	callq	_Endian16
	movq	%rax, -112(%rbp)
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_IPV4_SET_FLAGS
	movl	$128, -176(%rbp)
	movq	_IP_PROTO_TCP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -120(%rbp)
	movq	24(%rbx), %rax
	movl	4(%rax), %ecx
	movl	%ecx, -128(%rbp)
	movl	(%rax), %eax
	movl	%eax, -132(%rbp)
	movq	%r14, %rdi
	movl	$120, %esi
	callq	_IpChecksum
	movl	%eax, -136(%rbp)
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	$120, %edx
	callq	_WriteBuf
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_15
LBB0_14:
	leaq	-184(%rbp), %r14
	movq	%r14, %rdi
	movl	$120, %esi
	callq	_Zero
	movq	%r14, %rdi
	movl	$6, %esi
	callq	_IPV6_SET_VERSION
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movl	%r14d, %edi
	callq	_Endian16
	movq	%rax, -144(%rbp)
	movq	_IP_PROTO_TCP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -152(%rbp)
	movl	$64, -172(%rbp)
	leaq	-156(%rbp), %rdi
	movq	16(%rbx), %rsi
	addq	$4, %rsi
	movl	$4, %edx
	callq	_Copy
	leaq	-160(%rbp), %rdi
	movq	16(%rbx), %rsi
	movl	$4, %edx
	callq	_Copy
	movq	%r13, %rdi
	leaq	-184(%rbp), %rsi
	movl	$120, %edx
	callq	_WriteBuf
LBB0_15:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_WriteBuf
	movq	(%r15), %rax
	movq	(%rax), %rdi
	movq	16(%r13), %rdx
	movl	(%r13), %ecx
	movl	$0, (%rsp)
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_StorePacketToHubPa
	movq	%r12, %rdi
	callq	_Free
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_FreeBuf
	movq	%r13, %rdi
	callq	_Free
LBB0_16:
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_L3_IPV4,8,3                    ## @L3_IPV4
	.comm	_L3_IPV6,8,3                    ## @L3_IPV6
	.comm	_L4_TCP,8,3                     ## @L4_TCP
	.comm	_TCP_ACK,4,2                    ## @TCP_ACK
	.comm	_TCP_PSH,4,2                    ## @TCP_PSH
	.comm	_IP_PROTO_TCP,8,3               ## @IP_PROTO_TCP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ForceRedirectToUrl             ; -- Begin function ForceRedirectToUrl
	.p2align	2
_ForceRedirectToUrl:                    ; @ForceRedirectToUrl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	cbz	x0, LBB0_15
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_15
; %bb.2:
	mov	x21, x2
	cbz	x2, LBB0_15
; %bb.3:
	cbz	x3, LBB0_15
; %bb.4:
	ldr	x8, [x21]
Lloh0:
	adrp	x25, _L3_IPV4@GOTPAGE
Lloh1:
	ldr	x25, [x25, _L3_IPV4@GOTPAGEOFF]
	ldr	x9, [x25]
Lloh2:
	adrp	x10, _L3_IPV6@GOTPAGE
Lloh3:
	ldr	x10, [x10, _L3_IPV6@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_15
; %bb.5:
	ldr	x8, [x21, #8]
Lloh5:
	adrp	x9, _L4_TCP@GOTPAGE
Lloh6:
	ldr	x9, [x9, _L4_TCP@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.6:
	ldr	x24, [x21, #48]
	cbz	x24, LBB0_15
; %bb.7:
	mov	x1, x19
	mov	x2, x3
	bl	_BuildRedirectToUrlPayload
	cbz	x0, LBB0_15
; %bb.8:
	mov	x20, x0
	ldr	w26, [x0]
	add	w23, w26, #120
	mov	x0, x23
	bl	_ZeroMalloc
	mov	x22, x0
	ldr	w8, [x24, #116]
	str	w8, [x0, #112]
	ldr	w8, [x24, #112]
	str	w8, [x0, #116]
	ldr	x8, [x24, #104]
	str	x8, [x0, #96]
	ldr	x0, [x24, #96]
	bl	_Endian32
	ldr	x8, [x21, #40]
	add	x0, x8, x0
	bl	_Endian32
	str	x0, [x22, #104]
	mov	x0, x22
	mov	w1, #5
	bl	_TCP_SET_HEADER_SIZE
Lloh8:
	adrp	x8, _TCP_ACK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TCP_ACK@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _TCP_PSH@GOTPAGE
Lloh12:
	ldr	x9, [x9, _TCP_PSH@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x22, #4]
	mov	w0, #65535
	bl	_Endian16
	str	x0, [x22, #88]
	add	x0, x22, #480
	ldr	x1, [x20, #16]
	ldr	w2, [x20]
	bl	_Copy
	ldr	x8, [x21]
	ldr	x9, [x25]
Lloh14:
	adrp	x27, _IP_PROTO_TCP@GOTPAGE
Lloh15:
	ldr	x27, [x27, _IP_PROTO_TCP@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.9:
	ldr	x8, [x21, #24]
	ldp	w1, w0, [x8]
	ldr	x2, [x27]
	mov	x3, x22
	mov	x4, x23
	mov	w5, #0
	bl	_CalcChecksumForIPv4
	b	LBB0_11
LBB0_10:
	ldr	x1, [x21, #16]
	add	x0, x1, #4
	ldr	x2, [x27]
	mov	x3, x22
	mov	x4, x23
	mov	w5, #0
	bl	_CalcChecksumForIPv6
LBB0_11:
	str	w0, [x22, #48]
	bl	_NewBuf
	mov	x24, x0
	ldr	x8, [x21, #32]
	ldr	x1, [x8, #128]
	mov	w2, #6
	bl	_WriteBuf
	ldr	x8, [x21, #32]
	ldr	x1, [x8, #120]
	mov	x0, x24
	mov	w2, #6
	bl	_WriteBuf
	ldr	x1, [x21, #32]
	mov	x0, x24
	mov	w2, #2
	bl	_WriteBuf
	ldr	x8, [x21]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.12:
	add	x0, sp, #8
	mov	w1, #120
	bl	_Zero
	add	x0, sp, #8
	mov	w1, #4
	bl	_IPV4_SET_VERSION
	add	x0, sp, #8
	mov	w1, #5
	bl	_IPV4_SET_HEADER_LEN
	add	w0, w26, #240
	bl	_Endian16
	str	x0, [sp, #88]
	bl	_Rand16
	bl	_Endian16
	str	x0, [sp, #80]
	add	x0, sp, #8
	mov	w1, #2
	bl	_IPV4_SET_FLAGS
	mov	w8, #128
	str	w8, [sp, #16]
	ldr	x8, [x27]
	str	x8, [sp, #72]
	ldr	x8, [x21, #24]
	ldr	d0, [x8]
	stur	d0, [sp, #60]
	add	x0, sp, #8
	mov	w1, #120
	bl	_IpChecksum
	str	w0, [sp, #56]
	b	LBB0_14
LBB0_13:
	add	x25, sp, #8
	add	x0, sp, #8
	mov	w1, #120
	bl	_Zero
	add	x0, sp, #8
	mov	w1, #6
	bl	_IPV6_SET_VERSION
	mov	x0, x23
	bl	_Endian16
	ldr	x8, [x27]
	stp	x8, x0, [sp, #40]
	mov	w8, #64
	str	w8, [sp, #20]
	add	x0, x25, #28
	ldr	x8, [x21, #16]
	add	x1, x8, #4
	mov	w2, #4
	bl	_Copy
	add	x0, x25, #24
	ldr	x1, [x21, #16]
	mov	w2, #4
	bl	_Copy
LBB0_14:
	add	x1, sp, #8
	mov	x0, x24
	mov	w2, #120
	bl	_WriteBuf
	mov	x0, x24
	mov	x1, x22
	mov	x2, x23
	bl	_WriteBuf
	ldr	x8, [x19]
	ldr	x0, [x8]
	ldr	x2, [x24, #16]
	ldr	w3, [x24]
	mov	x1, #0
	mov	x4, #0
	mov	w5, #0
	mov	w6, #0
	bl	_StorePacketToHubPa
	mov	x0, x22
	bl	_Free
	mov	x0, x20
	bl	_FreeBuf
	mov	x0, x24
	bl	_Free
LBB0_15:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_L3_IPV4,8,3                    ; @L3_IPV4
	.comm	_L3_IPV6,8,3                    ; @L3_IPV6
	.comm	_L4_TCP,8,3                     ; @L4_TCP
	.comm	_TCP_ACK,4,2                    ; @TCP_ACK
	.comm	_TCP_PSH,4,2                    ; @TCP_PSH
	.comm	_IP_PROTO_TCP,8,3               ; @IP_PROTO_TCP
.subsections_via_symbols
