	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IPCSendDhcpRequest             ## -- Begin function IPCSendDhcpRequest
	.p2align	4, 0x90
_IPCSendDhcpRequest:                    ## @IPCSendDhcpRequest
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_30
## %bb.1:
	movq	%rcx, %r15
	movq	%rsi, -144(%rbp)                ## 8-byte Spill
	testq	%rcx, %rcx
	je	LBB0_30
## %bb.2:
	movq	%r9, %rbx
	movq	%rdx, %r13
	movq	%rdi, %r12
	cmpq	$0, -96(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_5
## %bb.3:
	testq	%rbx, %rbx
	je	LBB0_4
LBB0_5:
	movq	16(%rbp), %r14
	movabsq	$6148914691236517206, %rcx      ## imm = 0x5555555555555556
	movq	%rbx, %rax
	imulq	%rcx
	movq	%rdx, %rax
	shrq	$63, %rax
	leaq	(%rdx,%rax), %rsi
	addq	$-100, %rsi
	movl	$1, %edi
	callq	_MAX
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_Tick64
	addq	%rbx, %rax
	movl	(%r12), %edi
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	%rax, %rsi
	callq	_AddInterrupt
	movq	8(%r12), %rax
	movq	8(%rax), %rcx
	movq	%rcx, -80(%rbp)
	movq	(%rax), %rax
	movq	%rax, -72(%rbp)
	testq	%r14, %r14
	je	LBB0_7
## %bb.6:
	movq	%r14, -64(%rbp)
	movl	$3, %eax
	jmp	LBB0_8
LBB0_7:
	movl	$2, %eax
LBB0_8:
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	callq	_Tick64
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_IPCFlushArpTable
	cmpq	$0, -96(%rbp)                   ## 8-byte Folded Reload
	sete	-81(%rbp)                       ## 1-byte Folded Spill
	je	LBB0_11
## %bb.9:
	cmpq	-112(%rbp), %r14                ## 8-byte Folded Reload
	jl	LBB0_11
LBB0_4:
	xorl	%eax, %eax
LBB0_30:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_37
## %bb.31:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	xorl	%ecx, %ecx
	movq	%r15, -128(%rbp)                ## 8-byte Spill
LBB0_12:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_21 Depth 2
	testq	%rcx, %rcx
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpq	%r14, %rcx
	jg	LBB0_17
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r12, %rdi
	movq	-144(%rbp), %rsi                ## 8-byte Reload
	movq	%r13, %rdx
	movq	%r15, %rcx
	callq	_IPCBuildDhcpRequest
	testq	%rax, %rax
	je	LBB0_4
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rax, %rbx
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movq	%r12, %rdi
	callq	_IPCSendIPv4
	movq	%rbx, %rdi
	callq	_FreeBuf
	cmpq	$0, -96(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_4
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=1
	addq	-120(%rbp), %r14                ## 8-byte Folded Reload
	movl	(%r12), %edi
	movq	%r14, %rsi
	callq	_AddInterrupt
	movq	%r14, %rcx
LBB0_17:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	callq	_IPCProcessL3Events
	movq	%r12, %rdi
	callq	_IPCRecvIPv4
	testq	%rax, %rax
	je	LBB0_24
## %bb.18:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%rax, %rbx
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_21 Depth=2
	movq	%r15, %rdi
	callq	_FreeDHCPv4Data
LBB0_20:                                ##   in Loop: Header=BB0_21 Depth=2
	movq	%r14, %rdi
	callq	_FreePacketWithData
	movq	%rbx, %rdi
	callq	_FreeBlock
	movq	%r12, %rdi
	callq	_IPCRecvIPv4
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_24
LBB0_21:                                ##   Parent Loop BB0_12 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rbx), %esi
	movl	4(%rbx), %edi
	callq	_ParsePacketIPv4WithDummyMacHeader
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_ParseDHCPv4Data
	testq	%rax, %rax
	je	LBB0_20
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=2
	movq	%rax, %r15
	movq	8(%rax), %rax
	movl	(%rax), %edi
	callq	_Endian32
	cmpq	%r13, %rax
	jne	LBB0_19
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=2
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, (%r15)
	jne	LBB0_19
	jmp	LBB0_29
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	8(%r12), %rax
	movq	8(%rax), %rdi
	callq	_IsTubeConnected
	testl	%eax, %eax
	je	LBB0_4
## %bb.25:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	8(%r12), %rax
	movq	(%rax), %rdi
	callq	_IsTubeConnected
	testl	%eax, %eax
	je	LBB0_4
## %bb.26:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	16(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_12 Depth=1
	callq	_IsTubeConnected
	testl	%eax, %eax
	je	LBB0_4
LBB0_28:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	(%r12), %edi
	callq	_GetNextIntervalForInterrupt
	leaq	-80(%rbp), %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	movl	%eax, %edx
	callq	_WaitForTubes
	xorl	%eax, %eax
	callq	_Tick64
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_IPCFlushArpTable
	cmpq	-112(%rbp), %r14                ## 8-byte Folded Reload
	setl	%al
	orb	-81(%rbp), %al                  ## 1-byte Folded Reload
	movq	-128(%rbp), %r15                ## 8-byte Reload
	movl	$0, %eax
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	jne	LBB0_12
	jmp	LBB0_30
LBB0_29:
	movq	%r14, %rdi
	callq	_FreePacketWithData
	movq	%rbx, %rdi
	callq	_FreeBlock
	movq	%r15, %rax
	jmp	LBB0_30
LBB0_37:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IPCSendDhcpRequest             ; -- Begin function IPCSendDhcpRequest
	.p2align	2
_IPCSendDhcpRequest:                    ; @IPCSendDhcpRequest
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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, #0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	cbz	x0, LBB0_10
; %bb.1:
	mov	x21, x3
	cbz	x3, LBB0_10
; %bb.2:
	mov	x19, x6
	mov	x26, x5
	mov	x20, x4
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	cbz	x4, LBB0_4
; %bb.3:
	cbz	x26, LBB0_9
LBB0_4:
	mov	x8, #6148914691236517205
	movk	x8, #21846
	smulh	x8, x26, x8
	add	x8, x8, x8, lsr #63
	sub	x1, x8, #100
	mov	w0, #1
	bl	_MAX
	str	x0, [sp]                        ; 8-byte Folded Spill
	bl	_Tick64
	add	x1, x0, x26
	ldr	w0, [x24]
	str	x1, [sp, #24]                   ; 8-byte Folded Spill
	bl	_AddInterrupt
	ldr	x8, [x24, #8]
	ldr	x9, [x8, #8]
	str	x9, [sp, #32]
	ldr	x8, [x8]
	str	x8, [sp, #40]
	cbz	x19, LBB0_6
; %bb.5:
	str	x19, [sp, #48]
	mov	w8, #3
	b	LBB0_7
LBB0_6:
	mov	w8, #2
LBB0_7:
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	cmp	x20, #0
	cset	w8, eq
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	bl	_Tick64
	mov	x27, x0
	mov	x0, x24
	bl	_IPCFlushArpTable
	cbz	x20, LBB0_12
; %bb.8:
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	cmp	x27, x8
	b.lt	LBB0_12
LBB0_9:
	mov	x25, #0
LBB0_10:
	ldr	x8, [sp, #56]
Lloh3:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh4:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_31
; %bb.11:
	mov	x0, x25
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_12:
	mov	x28, #0
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_22 Depth 2
	cbz	x28, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	cmp	x28, x27
	b.gt	LBB0_18
LBB0_15:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	bl	_IPCBuildDhcpRequest
	mov	x25, x0
	cbz	x0, LBB0_10
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	ldp	w2, w1, [x25]
	mov	x0, x24
	bl	_IPCSendIPv4
	mov	x0, x25
	bl	_FreeBuf
	cbz	x20, LBB0_9
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	add	x28, x27, x8
	ldr	w0, [x24]
	mov	x1, x28
	bl	_AddInterrupt
LBB0_18:                                ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x24
	bl	_IPCProcessL3Events
	mov	x0, x24
	bl	_IPCRecvIPv4
	cbz	x0, LBB0_25
; %bb.19:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x27, x0
	b	LBB0_22
LBB0_20:                                ;   in Loop: Header=BB0_22 Depth=2
	mov	x0, x25
	bl	_FreeDHCPv4Data
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=2
	mov	x0, x26
	bl	_FreePacketWithData
	mov	x0, x27
	bl	_FreeBlock
	mov	x0, x24
	bl	_IPCRecvIPv4
	mov	x27, x0
	cbz	x0, LBB0_25
LBB0_22:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	w1, w0, [x27]
	bl	_ParsePacketIPv4WithDummyMacHeader
	mov	x26, x0
	bl	_ParseDHCPv4Data
	cbz	x0, LBB0_21
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=2
	mov	x25, x0
	ldr	x8, [x0, #8]
	ldr	w0, [x8]
	bl	_Endian32
	cmp	x0, x22
	b.ne	LBB0_20
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=2
	ldr	x8, [x25]
	cmp	x8, x20
	b.ne	LBB0_20
	b	LBB0_30
LBB0_25:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x24, #8]
	ldr	x0, [x8, #8]
	bl	_IsTubeConnected
	cbz	w0, LBB0_9
; %bb.26:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x24, #8]
	ldr	x0, [x8]
	bl	_IsTubeConnected
	cbz	w0, LBB0_9
; %bb.27:                               ;   in Loop: Header=BB0_13 Depth=1
	cbz	x19, LBB0_29
; %bb.28:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x19
	bl	_IsTubeConnected
	cbz	w0, LBB0_9
LBB0_29:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x24]
	bl	_GetNextIntervalForInterrupt
	mov	x2, x0
	add	x0, sp, #32
	ldr	x1, [sp, #16]                   ; 8-byte Folded Reload
	bl	_WaitForTubes
	bl	_Tick64
	mov	x27, x0
	mov	x0, x24
	bl	_IPCFlushArpTable
	mov	x25, #0
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	cmp	x27, x8
	cset	w8, lt
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	orr	w8, w9, w8
	tbnz	w8, #0, LBB0_13
	b	LBB0_10
LBB0_30:
	mov	x0, x26
	bl	_FreePacketWithData
	mov	x0, x27
	bl	_FreeBlock
	b	LBB0_10
LBB0_31:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
