	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_client_conf               ## -- Begin function read_client_conf
	.p2align	4, 0x90
_read_client_conf:                      ## @read_client_conf
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_MAX_COMPUTERNAME_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	incl	%ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movl	%ebx, -44(%rbp)
	testq	%r15, %r15
	je	LBB0_6
## %bb.1:
	movq	16(%r15), %rax
	movq	(%rax), %r12
	testq	%r12, %r12
	je	LBB0_6
## %bb.2:
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdi
	callq	_GetComputerName
	movl	-44(%rbp), %edx
	leaq	L_.str.1(%rip), %rdi
	movq	%r14, %rsi
	callq	_debug
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	-44(%rbp), %edx
	incl	%edx
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_HeapAlloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rax, %rbx
	movl	-44(%rbp), %edx
	incl	%edx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_memcpy
	movq	16(%r12), %rax
	movq	_DHO_HOST_NAME@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %rcx
	movq	%rbx, (%rax,%rcx)
	movl	-44(%rbp), %edx
	movl	%edx, 8(%rax,%rcx)
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_debug
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.3(%rip), %rdi
	callq	_error
LBB0_5:
	movq	(%r15), %rax
	movq	16(%r12), %rcx
	movq	_DHO_DHCP_CLIENT_IDENTIFIER@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	shlq	$4, %rdx
	movq	%rax, (%rcx,%rdx)
	movl	8(%r15), %eax
	movl	%eax, 8(%rcx,%rdx)
	movq	_DHO_SUBNET_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12), %rcx
	movslq	8(%r12), %rdx
	movq	%rax, (%rcx,%rdx,8)
	movq	_DHO_BROADCAST_ADDRESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rcx,%rdx,8)
	movq	_DHO_TIME_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%rcx,%rdx,8)
	movq	_DHO_ROUTERS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rcx,%rdx,8)
	movq	_DHO_DOMAIN_NAME@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rcx,%rdx,8)
	movq	_DHO_DOMAIN_NAME_SERVERS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%rcx,%rdx,8)
	movq	_DHO_HOST_NAME@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%rcx,%rdx,8)
	movq	_DHO_NTP_SERVERS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leal	8(%rdx), %esi
	movl	%esi, 8(%r12)
	movq	%rax, 56(%rcx,%rdx,8)
LBB0_6:
	leaq	L_.str(%rip), %rdi
	callq	_warn
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	xorl	%eax, %eax
	leaq	-32(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_COMPUTERNAME_LENGTH,4,2    ## @MAX_COMPUTERNAME_LENGTH
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"util.c read_client_conf poorly implemented!"

L_.str.1:                               ## @.str.1
	.asciz	"Hostname: %s, length: %lu"

	.comm	_DHO_HOST_NAME,8,3              ## @DHO_HOST_NAME
L_.str.2:                               ## @.str.2
	.asciz	"Hostname: %s, length: %d"

L_.str.3:                               ## @.str.3
	.asciz	"Failed to allocate heap for hostname"

	.comm	_DHO_DHCP_CLIENT_IDENTIFIER,8,3 ## @DHO_DHCP_CLIENT_IDENTIFIER
	.comm	_DHO_SUBNET_MASK,8,3            ## @DHO_SUBNET_MASK
	.comm	_DHO_BROADCAST_ADDRESS,8,3      ## @DHO_BROADCAST_ADDRESS
	.comm	_DHO_TIME_OFFSET,8,3            ## @DHO_TIME_OFFSET
	.comm	_DHO_ROUTERS,8,3                ## @DHO_ROUTERS
	.comm	_DHO_DOMAIN_NAME,8,3            ## @DHO_DOMAIN_NAME
	.comm	_DHO_DOMAIN_NAME_SERVERS,8,3    ## @DHO_DOMAIN_NAME_SERVERS
	.comm	_DHO_NTP_SERVERS,8,3            ## @DHO_NTP_SERVERS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_read_client_conf               ; -- Begin function read_client_conf
	.p2align	2
_read_client_conf:                      ; @read_client_conf
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #16
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _MAX_COMPUTERNAME_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_COMPUTERNAME_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	add	w8, w8, #1
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x8, #15
	and	x10, x10, #0x1fffffff0
	sub	x20, x9, x10
	mov	sp, x20
	stur	w8, [x29, #-60]
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x8, [x19, #16]
	ldr	x22, [x8]
	cbz	x22, LBB0_6
; %bb.2:
	sub	x1, x29, #60
	mov	x0, x20
	bl	_GetComputerName
	ldur	w2, [x29, #-60]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_debug
	bl	_GetProcessHeap
	ldur	w8, [x29, #-60]
	add	w2, w8, #1
	mov	w1, #0
	bl	_HeapAlloc
Lloh10:
	adrp	x23, _DHO_HOST_NAME@GOTPAGE
Lloh11:
	ldr	x23, [x23, _DHO_HOST_NAME@GOTPAGEOFF]
	cbz	x0, LBB0_4
; %bb.3:
	mov	x21, x0
	ldur	w8, [x29, #-60]
	add	w2, w8, #1
	mov	x1, x20
	bl	_memcpy
	ldr	x8, [x22, #16]
	ldr	x9, [x23]
	add	x8, x8, x9, lsl #4
	str	x21, [x8]
	ldur	w2, [x29, #-60]
	str	w2, [x8, #8]
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x21
	bl	_debug
	b	LBB0_5
LBB0_4:
Lloh14:
	adrp	x0, l_.str.3@PAGE
Lloh15:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_error
LBB0_5:
	ldr	x8, [x19]
	ldr	x9, [x22, #16]
Lloh16:
	adrp	x10, _DHO_DHCP_CLIENT_IDENTIFIER@GOTPAGE
Lloh17:
	ldr	x10, [x10, _DHO_DHCP_CLIENT_IDENTIFIER@GOTPAGEOFF]
Lloh18:
	ldr	x10, [x10]
	add	x9, x9, x10, lsl #4
	str	x8, [x9]
	ldr	w8, [x19, #8]
Lloh19:
	adrp	x10, _DHO_SUBNET_MASK@GOTPAGE
Lloh20:
	ldr	x10, [x10, _DHO_SUBNET_MASK@GOTPAGEOFF]
	str	w8, [x9, #8]
Lloh21:
	ldr	x8, [x10]
	ldr	x9, [x22]
	ldrsw	x10, [x22, #8]
	str	x8, [x9, x10, lsl #3]
	add	w8, w10, #1
Lloh22:
	adrp	x11, _DHO_BROADCAST_ADDRESS@GOTPAGE
Lloh23:
	ldr	x11, [x11, _DHO_BROADCAST_ADDRESS@GOTPAGEOFF]
Lloh24:
	ldr	x11, [x11]
	str	x11, [x9, w8, sxtw #3]
	add	w8, w10, #2
Lloh25:
	adrp	x11, _DHO_TIME_OFFSET@GOTPAGE
Lloh26:
	ldr	x11, [x11, _DHO_TIME_OFFSET@GOTPAGEOFF]
Lloh27:
	ldr	x11, [x11]
	str	x11, [x9, w8, sxtw #3]
	add	w8, w10, #3
Lloh28:
	adrp	x11, _DHO_ROUTERS@GOTPAGE
Lloh29:
	ldr	x11, [x11, _DHO_ROUTERS@GOTPAGEOFF]
Lloh30:
	ldr	x11, [x11]
	str	x11, [x9, w8, sxtw #3]
	add	w8, w10, #4
Lloh31:
	adrp	x11, _DHO_DOMAIN_NAME@GOTPAGE
Lloh32:
	ldr	x11, [x11, _DHO_DOMAIN_NAME@GOTPAGEOFF]
Lloh33:
	ldr	x11, [x11]
	str	x11, [x9, w8, sxtw #3]
	add	w8, w10, #5
Lloh34:
	adrp	x11, _DHO_DOMAIN_NAME_SERVERS@GOTPAGE
Lloh35:
	ldr	x11, [x11, _DHO_DOMAIN_NAME_SERVERS@GOTPAGEOFF]
Lloh36:
	ldr	x11, [x11]
	str	x11, [x9, w8, sxtw #3]
	add	w8, w10, #6
	ldr	x11, [x23]
	str	x11, [x9, w8, sxtw #3]
Lloh37:
	adrp	x8, _DHO_NTP_SERVERS@GOTPAGE
Lloh38:
	ldr	x8, [x8, _DHO_NTP_SERVERS@GOTPAGEOFF]
	add	w11, w10, #7
Lloh39:
	ldr	x8, [x8]
	add	w10, w10, #8
	str	w10, [x22, #8]
	str	x8, [x9, w11, sxtw #3]
LBB0_6:
Lloh40:
	adrp	x0, l_.str@PAGE
Lloh41:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warn
	ldur	x8, [x29, #-56]
Lloh42:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh43:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh44:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	mov	w0, #0
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_COMPUTERNAME_LENGTH,4,2    ; @MAX_COMPUTERNAME_LENGTH
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"util.c read_client_conf poorly implemented!"

l_.str.1:                               ; @.str.1
	.asciz	"Hostname: %s, length: %lu"

	.comm	_DHO_HOST_NAME,8,3              ; @DHO_HOST_NAME
l_.str.2:                               ; @.str.2
	.asciz	"Hostname: %s, length: %d"

l_.str.3:                               ; @.str.3
	.asciz	"Failed to allocate heap for hostname"

	.comm	_DHO_DHCP_CLIENT_IDENTIFIER,8,3 ; @DHO_DHCP_CLIENT_IDENTIFIER
	.comm	_DHO_SUBNET_MASK,8,3            ; @DHO_SUBNET_MASK
	.comm	_DHO_BROADCAST_ADDRESS,8,3      ; @DHO_BROADCAST_ADDRESS
	.comm	_DHO_TIME_OFFSET,8,3            ; @DHO_TIME_OFFSET
	.comm	_DHO_ROUTERS,8,3                ; @DHO_ROUTERS
	.comm	_DHO_DOMAIN_NAME,8,3            ; @DHO_DOMAIN_NAME
	.comm	_DHO_DOMAIN_NAME_SERVERS,8,3    ; @DHO_DOMAIN_NAME_SERVERS
	.comm	_DHO_NTP_SERVERS,8,3            ; @DHO_NTP_SERVERS
.subsections_via_symbols
