	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_options                  ## -- Begin function parse_options
	.p2align	4, 0x90
_parse_options:                         ## @parse_options
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	8(%rbx), %rax
	movq	(%rax), %rdi
	movq	_DHCP_OPTIONS_COOKIE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	$0, 24(%rbx)
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	8(%rbx), %rax
	movq	(%rax), %rsi
	addq	$4, %rsi
	movl	(%rbx), %edx
	movq	_DHCP_FIXED_NON_UDP@GOTPCREL(%rip), %rax
	subl	(%rax), %edx
	addl	$-4, %edx
	movq	%rbx, %rdi
	callq	_parse_option_buffer
	cmpq	$0, 24(%rbx)
	je	LBB0_7
## %bb.3:
	movq	16(%rbx), %rax
	movq	_DHO_DHCP_OPTION_OVERLOAD@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movq	(%rax,%rcx,8), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movl	(%rax), %eax
	testb	$1, %al
	je	LBB0_6
## %bb.5:
	movq	8(%rbx), %rax
	movq	16(%rax), %rsi
	movq	%rbx, %rdi
	movl	$8, %edx
	callq	_parse_option_buffer
	movq	16(%rbx), %rax
	movq	(%r14), %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %eax
LBB0_6:
	testb	$2, %al
	je	LBB0_7
## %bb.8:
	movq	8(%rbx), %rax
	movq	8(%rax), %rsi
	movq	%rbx, %rdi
	movl	$8, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_parse_option_buffer            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DHCP_OPTIONS_COOKIE,4,2        ## @DHCP_OPTIONS_COOKIE
	.comm	_DHCP_FIXED_NON_UDP,4,2         ## @DHCP_FIXED_NON_UDP
	.comm	_DHO_DHCP_OPTION_OVERLOAD,8,3   ## @DHO_DHCP_OPTION_OVERLOAD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_options                  ; -- Begin function parse_options
	.p2align	2
_parse_options:                         ; @parse_options
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0, #16]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
Lloh0:
	adrp	x8, _DHCP_OPTIONS_COOKIE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DHCP_OPTIONS_COOKIE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_3
; %bb.1:
	str	xzr, [x19, #24]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	add	x1, x8, #4
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _DHCP_FIXED_NON_UDP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DHCP_FIXED_NON_UDP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	sub	w8, w8, w9
	sub	w2, w8, #4
	mov	x0, x19
	bl	_parse_option_buffer
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_2
; %bb.4:
	ldr	x8, [x19, #16]
Lloh6:
	adrp	x20, _DHO_DHCP_OPTION_OVERLOAD@GOTPAGE
Lloh7:
	ldr	x20, [x20, _DHO_DHCP_OPTION_OVERLOAD@GOTPAGEOFF]
	ldr	x9, [x20]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_2
; %bb.5:
	ldr	w8, [x8]
	tbz	w8, #0, LBB0_7
; %bb.6:
	ldr	x8, [x19, #8]
	ldr	x1, [x8, #16]
	mov	x0, x19
	mov	w2, #8
	bl	_parse_option_buffer
	ldr	x8, [x19, #16]
	ldr	x9, [x20]
	ldr	x8, [x8, x9, lsl #3]
	ldr	w8, [x8]
LBB0_7:
	tbz	w8, #1, LBB0_2
; %bb.8:
	ldr	x8, [x19, #8]
	ldr	x1, [x8, #8]
	mov	x0, x19
	mov	w2, #8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_parse_option_buffer
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_DHCP_OPTIONS_COOKIE,4,2        ; @DHCP_OPTIONS_COOKIE
	.comm	_DHCP_FIXED_NON_UDP,4,2         ; @DHCP_FIXED_NON_UDP
	.comm	_DHO_DHCP_OPTION_OVERLOAD,8,3   ; @DHO_DHCP_OPTION_OVERLOAD
.subsections_via_symbols
