	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_state_panic                    ## -- Begin function state_panic
	.p2align	4, 0x90
_state_panic:                           ## @state_panic
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	callq	_AdapterFindInfo
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_note
	cmpl	$0, 4(%rbx)
	je	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %r14
	addq	$4, %r14
	leaq	L_.str.1(%rip), %rdi
	callq	_DbgPrint
	xorl	%eax, %eax
	callq	_rand
	cltq
	imulq	$-2147450879, %rax, %rdi        ## imm = 0x80008001
	shrq	$32, %rdi
	addl	%eax, %edi
	movl	%edi, %ecx
	shrl	$31, %ecx
	sarl	$15, %edi
	addl	%ecx, %edi
	movl	%edi, %ecx
	shll	$16, %ecx
	subl	%ecx, %edi
	addl	%eax, %edi
	orl	$-1442971648, %edi              ## imm = 0xA9FE0000
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_htonl
	movl	%eax, %r15d
	movl	$-65536, %edi                   ## imm = 0xFFFF0000
	callq	_htonl
	movl	8(%rbx), %edx
	movl	%r15d, %edi
	movl	%eax, %esi
	movq	%r14, %rcx
	movq	%rbx, %r8
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AddIPAddress                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No DHCPOFFERS received."

L_.str.1:                               ## @.str.1
	.asciz	"DHCPCSVC: Failed to receive a response from a DHCP server. An automatic private address will be assigned.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_state_panic                    ; -- Begin function state_panic
	.p2align	2
_state_panic:                           ; @state_panic
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	bl	_AdapterFindInfo
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_note
	mov	x20, x19
	ldr	w8, [x20, #4]!
	cbz	w8, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DbgPrint
	bl	_rand
	mov	w8, #32769
	movk	w8, #32768, lsl #16
	smull	x8, w0, w8
	lsr	x8, x8, #32
	add	w8, w8, w0
	asr	w9, w8, #15
	add	w8, w9, w8, lsr #31
	sub	w8, w8, w8, lsl #16
	mov	w9, #-1442971648
	add	w8, w0, w8
	orr	w0, w8, w9
	bl	_htonl
	mov	x21, x0
	mov	w0, #-65536
	bl	_htonl
	mov	x1, x0
	ldr	w2, [x19, #8]
	mov	x0, x21
	mov	x3, x20
	mov	x4, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_AddIPAddress
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No DHCPOFFERS received."

l_.str.1:                               ; @.str.1
	.asciz	"DHCPCSVC: Failed to receive a response from a DHCP server. An automatic private address will be assigned.\n"

.subsections_via_symbols
