	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_find_search_domain_name_len    ## -- Begin function find_search_domain_name_len
	.p2align	4, 0x90
_find_search_domain_name_len:           ## @find_search_domain_name_len
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rsi), %r8
	movq	(%rdi), %rdx
	cmpq	%rdx, %r8
	jae	LBB0_13
## %bb.1:
	movq	%rsi, %r14
	movq	8(%rdi), %rcx
	xorl	%r15d, %r15d
	movq	%r8, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%rcx,%rbx,4), %rsi
	testq	%rsi, %rsi
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	testb	$-64, %sil
	jne	LBB0_5
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rbx,%rsi), %rax
	cmpq	%rdx, %rax
	jae	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	leaq	1(%rsi), %rax
	addl	%r15d, %eax
	addq	%rsi, %rbx
	incq	%rbx
	movl	%eax, %r15d
	cmpq	%rdx, %rbx
	jb	LBB0_2
LBB0_13:
	leaq	L_.str.3(%rip), %rdi
LBB0_14:
	callq	_warning
	movl	$-1, %r15d
LBB0_15:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	incq	%rbx
	movq	%rbx, (%r14)
	jmp	LBB0_15
LBB0_5:
	leaq	1(%rbx), %rax
	cmpq	%rdx, %rax
	jae	LBB0_6
## %bb.7:
	shll	$8, %esi
	movslq	%esi, %rax
	andq	$-49408, %rax                   ## imm = 0xFFFF3F00
	movslq	4(%rcx,%rbx,4), %rcx
	addq	%rax, %rcx
	movq	%rcx, -32(%rbp)
	cmpq	%rcx, %r8
	jbe	LBB0_8
## %bb.9:
	leaq	-32(%rbp), %rsi
	callq	_find_search_domain_name_len
	addl	%eax, %r15d
	addq	$2, %rbx
	movq	%rbx, (%r14)
	jmp	LBB0_15
LBB0_11:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_14
LBB0_6:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_14
LBB0_8:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Truncated pointer in DHCP Domain Search option."

L_.str.1:                               ## @.str.1
	.asciz	"Invalid forward pointer in DHCP Domain Search option compression."

L_.str.2:                               ## @.str.2
	.asciz	"Truncated label in DHCP Domain Search option."

L_.str.3:                               ## @.str.3
	.asciz	"Truncated DHCP Domain Search option."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_find_search_domain_name_len    ; -- Begin function find_search_domain_name_len
	.p2align	2
_find_search_domain_name_len:           ; @find_search_domain_name_len
	.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
	ldr	x8, [x1]
	ldr	x10, [x0]
	cmp	x8, x10
	b.hs	LBB0_6
; %bb.1:
	mov	x20, x1
	mov	w19, #0
	ldr	x9, [x0, #8]
	mov	x21, x8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x11, [x9, x21, lsl #2]
	cbz	w11, LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	tst	w11, #0xc0
	b.ne	LBB0_10
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x12, x21, x11
	cmp	x12, x10
	b.hs	LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x11, x11, #1
	add	w19, w11, w19
	add	x21, x21, x11
	cmp	x21, x10
	b.lo	LBB0_2
LBB0_6:
Lloh0:
	adrp	x0, l_.str.3@PAGE
Lloh1:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_7:
	bl	_warning
	mov	w19, #-1
LBB0_8:
	mov	x0, x19
	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_9:
	add	x8, x21, #1
	str	x8, [x20]
	b	LBB0_8
LBB0_10:
	add	x12, x21, #1
	cmp	x12, x10
	b.hs	LBB0_14
; %bb.11:
	lsl	w10, w11, #8
	sxtw	x10, w10
	and	x10, x10, #0xffffffffffff3fff
	ldrsw	x9, [x9, x12, lsl #2]
	add	x9, x9, x10
	cmp	x8, x9
	str	x9, [sp, #8]
	b.ls	LBB0_15
; %bb.12:
	add	x1, sp, #8
	bl	_find_search_domain_name_len
	add	w19, w0, w19
	add	x8, x21, #2
	str	x8, [x20]
	b	LBB0_8
LBB0_13:
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_14:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_7
LBB0_15:
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_7
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Truncated pointer in DHCP Domain Search option."

l_.str.1:                               ; @.str.1
	.asciz	"Invalid forward pointer in DHCP Domain Search option compression."

l_.str.2:                               ; @.str.2
	.asciz	"Truncated label in DHCP Domain Search option."

l_.str.3:                               ; @.str.3
	.asciz	"Truncated DHCP Domain Search option."

.subsections_via_symbols
