	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_dhcp_message_type
_get_dhcp_message_type:                 ## @get_dhcp_message_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movl	$-1, %eax
	testl	%esi, %esi
	jle	LBB0_11
## %bb.1:
	movq	_DHCP_END@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r10
	movq	_DHCP_PAD@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r9
	movq	_DHCP_MSG_TYPE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	xorl	%edx, %edx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%edx
	cmpl	%esi, %edx
	jge	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%edx, %r11
	movq	4(%rdi,%r11,8), %rcx
	cmpq	%r10, %rcx
	je	LBB0_11
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r9, %rcx
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%esi, %ebx
	subl	%edx, %ebx
	cmpq	%r8, %rcx
	je	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$2, %ebx
	jl	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%edx
	movslq	%edx, %rcx
	movl	4(%rdi,%rcx,8), %edx
	addl	%ecx, %edx
	jmp	LBB0_10
LBB0_5:
	cmpl	$3, %ebx
	jl	LBB0_11
## %bb.6:
	cmpq	$1, 12(%rdi,%r11,8)
	jne	LBB0_11
## %bb.7:
	movl	20(%rdi,%r11,8), %eax
LBB0_11:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DHCP_END,8,3                   ## @DHCP_END
	.comm	_DHCP_PAD,8,3                   ## @DHCP_PAD
	.comm	_DHCP_MSG_TYPE,8,3              ## @DHCP_MSG_TYPE
	.no_dead_strip	_get_dhcp_message_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_dhcp_message_type
_get_dhcp_message_type:                 ; @get_dhcp_message_type
	.cfi_startproc
; %bb.0:
	cmp	w1, #1
	b.lt	LBB0_11
; %bb.1:
	mov	w9, #0
	add	x8, x0, #4
Lloh0:
	adrp	x10, _DHCP_END@GOTPAGE
Lloh1:
	ldr	x10, [x10, _DHCP_END@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
Lloh3:
	adrp	x11, _DHCP_PAD@GOTPAGE
Lloh4:
	ldr	x11, [x11, _DHCP_PAD@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
Lloh6:
	adrp	x12, _DHCP_MSG_TYPE@GOTPAGE
Lloh7:
	ldr	x12, [x12, _DHCP_MSG_TYPE@GOTPAGEOFF]
Lloh8:
	ldr	x12, [x12]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w9, w9, #1
	cmp	w9, w1
	b.ge	LBB0_11
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x8, w9, sxtw #3]
	cmp	x13, x10
	b.eq	LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x13, x11
	b.eq	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w14, w1, w9
	cmp	x13, x12
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w14, #2
	b.lt	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w9, w9, #1
	ldr	x13, [x8, w9, sxtw #3]
	add	w9, w9, w13
	b	LBB0_2
LBB0_8:
	cmp	w14, #3
	b.lt	LBB0_11
; %bb.9:
	sxtw	x9, w9
	add	x8, x8, x9, lsl #3
	ldr	x9, [x8, #8]
	cmp	x9, #1
	b.ne	LBB0_11
; %bb.10:
	ldr	w0, [x8, #16]
	ret
LBB0_11:
	mov	w0, #-1
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DHCP_END,8,3                   ; @DHCP_END
	.comm	_DHCP_PAD,8,3                   ; @DHCP_PAD
	.comm	_DHCP_MSG_TYPE,8,3              ; @DHCP_MSG_TYPE
	.no_dead_strip	_get_dhcp_message_type
.subsections_via_symbols
