	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bootpc_compose_query
_bootpc_compose_query:                  ## @bootpc_compose_query
	.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	$96, %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	$0, 96(%rdi)
	addq	$8, %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	movl	$56, %esi
	callq	_bzero
	movq	_BOOTP_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%r15)
	movl	$1, 8(%r15)
	movq	80(%r15), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%r15)
	movq	$0, 48(%r15)
	movq	%r15, %rdi
	callq	_bootpc_ifctx_isunresolved
	movl	88(%r15), %edi
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	incl	%edi
	movl	%edi, 88(%r15)
LBB0_2:
	callq	_txdr_unsigned
	movl	%eax, 44(%r15)
	movq	80(%r15), %rdi
	callq	_LLADDR
	leaq	40(%r15), %rsi
	movq	80(%r15), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	callq	_bcopy
	movq	16(%r15), %rbx
	movl	$1666417251, (%rbx)             ## imm = 0x63538263
	movq	_TAG_MAXMSGSIZE@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, 4(%rbx)
	movw	$2, 5(%rbx)
	movb	$4, 7(%rbx)
	movq	_ostype@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_MACHINE@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	_osrelease@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	leaq	L_.str(%rip), %rdx
	leaq	-112(%rbp), %r14
	movq	%r14, %rdi
	movl	$64, %esi
	callq	_snprintf
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %r12d
	movq	_TAG_VENDOR_INDENTIFIER@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, 8(%rbx)
	leaq	10(%rbx), %rdi
	movb	%r12b, 9(%rbx)
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_memcpy
	movslq	%r12d, %rax
	addq	%rax, %rbx
	addq	$10, %rbx
	movq	_DHCP_NOMSG@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 72(%r15)
	movl	(%r15), %eax
	cmpl	$129, %eax
	je	LBB0_5
## %bb.3:
	cmpl	$128, %eax
	jne	LBB0_8
## %bb.4:
	movq	_TAG_DHCP_MSGTYPE@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, (%rbx)
	movb	$1, 1(%rbx)
	movq	_DHCP_DISCOVER@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movb	%cl, 2(%rbx)
	addq	$3, %rbx
	movq	(%rax), %rax
	movq	%rax, 72(%r15)
	movl	$0, 64(%r15)
	jmp	LBB0_8
LBB0_5:
	movq	_TAG_DHCP_MSGTYPE@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, (%rbx)
	movb	$1, 1(%rbx)
	movq	_DHCP_REQUEST@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movb	%cl, 2(%rbx)
	movq	(%rax), %rax
	movq	%rax, 72(%r15)
	movq	_TAG_DHCP_REQ_ADDR@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, 3(%rbx)
	leaq	5(%rbx), %rdi
	movb	$4, 4(%rbx)
	leaq	68(%r15), %rsi
	movl	$4, %edx
	callq	_memcpy
	addq	$9, %rbx
	cmpl	$0, 64(%r15)
	je	LBB0_7
## %bb.6:
	movq	_TAG_DHCP_SERVERID@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, (%rbx)
	leaq	2(%rbx), %rdi
	movb	$4, 1(%rbx)
	leaq	4(%r15), %rsi
	movl	$4, %edx
	callq	_memcpy
	addq	$6, %rbx
LBB0_7:
	movq	_TAG_DHCP_LEASETIME@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, (%rbx)
	leaq	2(%rbx), %r14
	movb	$4, 1(%rbx)
	movl	$300, %edi                      ## imm = 0x12C
	callq	_htonl
	movb	%al, -113(%rbp)
	leaq	-113(%rbp), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_memcpy
	addq	$6, %rbx
LBB0_8:
	movq	_TAG_END@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, (%rbx)
	movq	$0, 32(%r15)
	movl	$32768, %edi                    ## imm = 0x8000
	callq	_htons
	movl	%eax, 24(%r15)
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	addq	$96, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BOOTP_REQUEST,4,2              ## @BOOTP_REQUEST
	.comm	_TAG_MAXMSGSIZE,4,2             ## @TAG_MAXMSGSIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s:%s:%s"

	.comm	_ostype,8,3                     ## @ostype
	.comm	_MACHINE,8,3                    ## @MACHINE
	.comm	_osrelease,8,3                  ## @osrelease
	.comm	_TAG_VENDOR_INDENTIFIER,4,2     ## @TAG_VENDOR_INDENTIFIER
	.comm	_DHCP_NOMSG,8,3                 ## @DHCP_NOMSG
	.comm	_TAG_DHCP_MSGTYPE,8,3           ## @TAG_DHCP_MSGTYPE
	.comm	_DHCP_DISCOVER,8,3              ## @DHCP_DISCOVER
	.comm	_DHCP_REQUEST,8,3               ## @DHCP_REQUEST
	.comm	_TAG_DHCP_REQ_ADDR,4,2          ## @TAG_DHCP_REQ_ADDR
	.comm	_TAG_DHCP_SERVERID,4,2          ## @TAG_DHCP_SERVERID
	.comm	_TAG_DHCP_LEASETIME,4,2         ## @TAG_DHCP_LEASETIME
	.comm	_TAG_END,1,0                    ## @TAG_END
	.no_dead_strip	_bootpc_compose_query
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bootpc_compose_query
_bootpc_compose_query:                  ; @bootpc_compose_query
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	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
	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]
	str	xzr, [x0, #96]
	add	x0, x0, #8
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	w1, #56
	bl	_bzero
Lloh3:
	adrp	x8, _BOOTP_REQUEST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BOOTP_REQUEST@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19, #60]
	mov	w8, #1
	str	w8, [x19, #8]
	ldr	x8, [x19, #80]
	ldr	w8, [x8]
	str	w8, [x19, #56]
	str	xzr, [x19, #48]
	mov	x0, x19
	bl	_bootpc_ifctx_isunresolved
	mov	x8, x0
	ldr	w0, [x19, #88]
	cbz	x8, LBB0_2
; %bb.1:
	add	w0, w0, #1
	str	w0, [x19, #88]
LBB0_2:
	bl	_txdr_unsigned
	str	w0, [x19, #44]
	ldr	x0, [x19, #80]
	bl	_LLADDR
	add	x1, x19, #40
	ldr	x8, [x19, #80]
	ldr	w2, [x8]
	bl	_bcopy
	ldr	x23, [x19, #16]
	mov	w8, #33379
	movk	w8, #25427, lsl #16
	str	w8, [x23]
Lloh6:
	adrp	x8, _TAG_MAXMSGSIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TAG_MAXMSGSIZE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	strb	w8, [x23, #4]
	mov	w8, #2
	sturh	w8, [x23, #5]
	mov	w22, #4
	strb	w22, [x23, #7]
Lloh9:
	adrp	x8, _ostype@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ostype@GOTPAGEOFF]
Lloh11:
	ldr	x3, [x8]
Lloh12:
	adrp	x8, _MACHINE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MACHINE@GOTPAGEOFF]
Lloh14:
	ldr	x4, [x8]
Lloh15:
	adrp	x8, _osrelease@GOTPAGE
Lloh16:
	ldr	x8, [x8, _osrelease@GOTPAGEOFF]
Lloh17:
	ldr	x5, [x8]
Lloh18:
	adrp	x2, l_.str@PAGE
Lloh19:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #64
	bl	_snprintf
	add	x0, sp, #8
	bl	_strlen
	mov	x20, x0
Lloh20:
	adrp	x8, _TAG_VENDOR_INDENTIFIER@GOTPAGE
Lloh21:
	ldr	x8, [x8, _TAG_VENDOR_INDENTIFIER@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	strb	w8, [x23, #8]
	add	x21, x23, #10
	strb	w0, [x23, #9]
	add	x1, sp, #8
	mov	x0, x21
	mov	x2, x20
	bl	_memcpy
	add	x20, x21, w20, sxtw
Lloh23:
	adrp	x8, _DHCP_NOMSG@GOTPAGE
Lloh24:
	ldr	x8, [x8, _DHCP_NOMSG@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	str	x8, [x19, #72]
	ldr	w8, [x19]
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.3:
	cmp	w8, #128
	b.ne	LBB0_8
; %bb.4:
Lloh26:
	adrp	x8, _TAG_DHCP_MSGTYPE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _TAG_DHCP_MSGTYPE@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	strb	w8, [x20]
	mov	w8, #1
	strb	w8, [x20, #1]
Lloh29:
	adrp	x8, _DHCP_DISCOVER@GOTPAGE
Lloh30:
	ldr	x8, [x8, _DHCP_DISCOVER@GOTPAGEOFF]
	ldr	x9, [x8]
	strb	w9, [x20, #2]
	add	x20, x20, #3
	ldr	x8, [x8]
	str	x8, [x19, #72]
	str	wzr, [x19, #64]
	b	LBB0_8
LBB0_5:
Lloh31:
	adrp	x8, _TAG_DHCP_MSGTYPE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _TAG_DHCP_MSGTYPE@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	strb	w8, [x20]
	mov	w8, #1
Lloh34:
	adrp	x9, _DHCP_REQUEST@GOTPAGE
Lloh35:
	ldr	x9, [x9, _DHCP_REQUEST@GOTPAGEOFF]
	strb	w8, [x20, #1]
	ldr	x8, [x9]
	strb	w8, [x20, #2]
	ldr	x8, [x9]
Lloh36:
	adrp	x9, _TAG_DHCP_REQ_ADDR@GOTPAGE
Lloh37:
	ldr	x9, [x9, _TAG_DHCP_REQ_ADDR@GOTPAGEOFF]
	str	x8, [x19, #72]
Lloh38:
	ldr	w8, [x9]
	strb	w8, [x20, #3]
	add	x0, x20, #5
	strb	w22, [x20, #4]
	add	x1, x19, #68
	mov	w2, #4
	bl	_memcpy
	add	x21, x20, #9
	ldr	w8, [x19, #64]
	cbz	w8, LBB0_7
; %bb.6:
Lloh39:
	adrp	x8, _TAG_DHCP_SERVERID@GOTPAGE
Lloh40:
	ldr	x8, [x8, _TAG_DHCP_SERVERID@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	strb	w8, [x21]
	add	x0, x21, #2
	mov	w8, #4
	strb	w8, [x21, #1]
	add	x1, x19, #4
	mov	w2, #4
	bl	_memcpy
	add	x21, x21, #6
LBB0_7:
Lloh42:
	adrp	x8, _TAG_DHCP_LEASETIME@GOTPAGE
Lloh43:
	ldr	x8, [x8, _TAG_DHCP_LEASETIME@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	strb	w8, [x21]
	add	x20, x21, #2
	mov	w8, #4
	strb	w8, [x21, #1]
	mov	w0, #300
	bl	_htonl
	strb	w0, [sp, #7]
	add	x1, sp, #7
	mov	x0, x20
	mov	w2, #4
	bl	_memcpy
	add	x20, x21, #6
LBB0_8:
Lloh45:
	adrp	x8, _TAG_END@GOTPAGE
Lloh46:
	ldr	x8, [x8, _TAG_END@GOTPAGEOFF]
	ldrb	w8, [x8]
	strb	w8, [x20]
	str	xzr, [x19, #32]
	mov	w0, #32768
	bl	_htons
	str	w0, [x19, #24]
	ldur	x8, [x29, #-56]
Lloh47:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh48:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh49:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	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
	add	sp, sp, #144
	ret
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGot	Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_BOOTP_REQUEST,4,2              ; @BOOTP_REQUEST
	.comm	_TAG_MAXMSGSIZE,4,2             ; @TAG_MAXMSGSIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s:%s:%s"

	.comm	_ostype,8,3                     ; @ostype
	.comm	_MACHINE,8,3                    ; @MACHINE
	.comm	_osrelease,8,3                  ; @osrelease
	.comm	_TAG_VENDOR_INDENTIFIER,4,2     ; @TAG_VENDOR_INDENTIFIER
	.comm	_DHCP_NOMSG,8,3                 ; @DHCP_NOMSG
	.comm	_TAG_DHCP_MSGTYPE,8,3           ; @TAG_DHCP_MSGTYPE
	.comm	_DHCP_DISCOVER,8,3              ; @DHCP_DISCOVER
	.comm	_DHCP_REQUEST,8,3               ; @DHCP_REQUEST
	.comm	_TAG_DHCP_REQ_ADDR,4,2          ; @TAG_DHCP_REQ_ADDR
	.comm	_TAG_DHCP_SERVERID,4,2          ; @TAG_DHCP_SERVERID
	.comm	_TAG_DHCP_LEASETIME,4,2         ; @TAG_DHCP_LEASETIME
	.comm	_TAG_END,1,0                    ; @TAG_END
	.no_dead_strip	_bootpc_compose_query
.subsections_via_symbols
