	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_option                   ## -- Begin function check_option
	.p2align	4, 0x90
_check_option:                          ## @check_option
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movslq	%esi, %rbx
	movl	(%rax,%rbx,8), %edx
	movl	4(%rax,%rbx,8), %esi
	movl	%ebx, %edi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_pretty_print_option
	movq	%rax, %r15
	movq	(%r12), %rax
	movl	(%rax,%rbx,8), %edx
	movl	4(%rax,%rbx,8), %esi
	movl	%ebx, %edi
	callq	_option_as_string
	movq	%rax, %r12
	leal	-128(%rbx), %eax
	cmpl	$63, %eax
	ja	LBB0_7
## %bb.1:
	movl	$1, %ebx
	movabsq	$-1729431542143406473, %rcx     ## imm = 0xE7FFD32CE32FAE77
	btq	%rax, %rcx
	jb	LBB0_8
## %bb.2:
	movabsq	$1729422471164088712, %rcx      ## imm = 0x180024931C505188
	btq	%rax, %rcx
	jae	LBB0_5
## %bb.3:
	movq	%r15, %rdi
	callq	_ipv4addrs
	testl	%eax, %eax
	jne	LBB0_8
## %bb.4:
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	movl	%r14d, %esi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_warning
	jmp	LBB0_8
LBB0_5:
	movq	%r12, %rdi
	callq	_res_hnok
	testl	%eax, %eax
	jne	LBB0_8
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	movq	%r12, %rdx
	movq	%r15, %rcx
	xorl	%eax, %eax
	callq	_warning
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str.2(%rip), %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_warning
	movq	_unknown_ok@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid IP address in option(%d): %s"

L_.str.1:                               ## @.str.1
	.asciz	"Bogus Host Name option %d: %s (%s)"

L_.str.2:                               ## @.str.2
	.asciz	"unknown dhcp option value 0x%x"

	.comm	_unknown_ok,4,2                 ## @unknown_ok
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_option                   ; -- Begin function check_option
	.p2align	2
_check_option:                          ; @check_option
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x21, x0
	ldr	x8, [x0]
	sbfiz	x22, x19, #3, #32
	add	x8, x8, x22
	ldp	w2, w1, [x8]
	mov	x0, x19
	mov	w3, #0
	mov	w4, #0
	bl	_pretty_print_option
	mov	x20, x0
	ldr	x8, [x21]
	add	x8, x8, x22
	ldp	w2, w1, [x8]
	mov	x0, x19
	bl	_option_as_string
	sub	w8, w19, #128
	cmp	w8, #63
	b.hi	LBB0_9
; %bb.1:
	mov	w9, #1
	lsl	x9, x9, x8
	mov	x10, #44663
	movk	x10, #58159, lsl #16
	movk	x10, #54060, lsl #32
	movk	x10, #59391, lsl #48
	tst	x9, x10
	b.ne	LBB0_4
; %bb.2:
	mov	w9, #1
	lsl	x8, x9, x8
	mov	x9, #20872
	movk	x9, #7248, lsl #16
	movk	x9, #9363, lsl #32
	movk	x9, #6144, lsl #48
	tst	x8, x9
	b.eq	LBB0_7
; %bb.3:
	mov	x0, x20
	bl	_ipv4addrs
	cbz	w0, LBB0_6
LBB0_4:
	mov	w0, #1
LBB0_5:
	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
	add	sp, sp, #64
	ret
LBB0_6:
	str	x20, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_warning
	mov	w0, #0
	b	LBB0_5
LBB0_7:
	mov	x21, x0
	bl	_res_hnok
	cbnz	w0, LBB0_4
; %bb.8:
	stp	x21, x20, [sp]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_warning
	mov	w0, #1
	b	LBB0_5
LBB0_9:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_warning
Lloh6:
	adrp	x8, _unknown_ok@GOTPAGE
Lloh7:
	ldr	x8, [x8, _unknown_ok@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid IP address in option(%d): %s"

l_.str.1:                               ; @.str.1
	.asciz	"Bogus Host Name option %d: %s (%s)"

l_.str.2:                               ; @.str.2
	.asciz	"unknown dhcp option value 0x%x"

	.comm	_unknown_ok,4,2                 ; @unknown_ok
.subsections_via_symbols
