	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dt_provider_lookup             ## -- Begin function dt_provider_lookup
	.p2align	4, 0x90
_dt_provider_lookup:                    ## @dt_provider_lookup
	.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, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	xorl	%esi, %esi
	callq	_dt_strtab_hash
	movq	(%r14), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_2
## %bb.1:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_3
LBB0_2:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_3:
	movq	8(%r14), %rax
	movq	(%rax,%rdx,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rbx), %edi
	movq	%r15, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_4
LBB0_6:
	movq	%r15, %rdi
	callq	_strisglob
	testq	%rax, %rax
	je	LBB0_11
LBB0_7:
	movq	_EDT_NOPROV@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
LBB0_8:
	movq	%r14, %rdi
	callq	_dt_set_errno
LBB0_9:
	xorl	%ebx, %ebx
LBB0_10:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	cmpb	$0, (%r15)
	je	LBB0_7
## %bb.12:
	leaq	-32(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_bzero
	movl	-32(%rbp), %edi
	movq	_DTRACE_PROVNAMELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	_strlcpy
	movq	_DTRACEIOC_PROVIDER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_dt_ioctl
	cmpl	$-1, %eax
	je	LBB0_15
## %bb.13:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_dt_provider_create
	testq	%rax, %rax
	je	LBB0_9
## %bb.14:
	movq	%rax, %rbx
	movl	-32(%rbp), %eax
	movl	%eax, 4(%rbx)
	movq	_DT_PROVIDER_IMPL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	jmp	LBB0_10
LBB0_15:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_ESRCH@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rsi
	je	LBB0_7
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_EDT_NOPROV,8,3                 ## @EDT_NOPROV
	.comm	_DTRACE_PROVNAMELEN,4,2         ## @DTRACE_PROVNAMELEN
	.comm	_DTRACEIOC_PROVIDER,4,2         ## @DTRACEIOC_PROVIDER
	.comm	_errno,8,3                      ## @errno
	.comm	_ESRCH,8,3                      ## @ESRCH
	.comm	_DT_PROVIDER_IMPL,4,2           ## @DT_PROVIDER_IMPL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dt_provider_lookup             ; -- Begin function dt_provider_lookup
	.p2align	2
_dt_provider_lookup:                    ; @dt_provider_lookup
	.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	x20, x1
	mov	x19, x0
	mov	x0, x1
	mov	x1, #0
	bl	_dt_strtab_hash
	ldp	x8, x9, [x19]
	udiv	x10, x0, x8
	msub	x8, x10, x8, x0
	ldr	x21, [x9, x8, lsl #3]
	cbz	x21, LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21, #4]
	mov	x1, x20
	bl	_strcmp
	cbz	x0, LBB0_6
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x21, [x21, #8]
	cbnz	x21, LBB0_1
LBB0_3:
	mov	x0, x20
	bl	_strisglob
	cbz	x0, LBB0_7
LBB0_4:
Lloh0:
	adrp	x8, _EDT_NOPROV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EDT_NOPROV@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
LBB0_5:
	mov	x0, x19
	bl	_dt_set_errno
	mov	x21, #0
LBB0_6:
	mov	x0, x21
	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_7:
	ldrb	w8, [x20]
	cbz	w8, LBB0_4
; %bb.8:
	add	x0, sp, #8
	mov	w1, #4
	bl	_bzero
	ldr	w0, [sp, #8]
Lloh3:
	adrp	x8, _DTRACE_PROVNAMELEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DTRACE_PROVNAMELEN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_strlcpy
Lloh6:
	adrp	x8, _DTRACEIOC_PROVIDER@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DTRACEIOC_PROVIDER@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_dt_ioctl
	cmn	w0, #1
	b.eq	LBB0_11
; %bb.9:
	mov	x0, x19
	mov	x1, x20
	bl	_dt_provider_create
	mov	x21, x0
	cbz	x0, LBB0_6
; %bb.10:
Lloh9:
	adrp	x8, _DT_PROVIDER_IMPL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DT_PROVIDER_IMPL@GOTPAGEOFF]
	ldr	w9, [sp, #8]
Lloh11:
	ldr	w8, [x8]
	ldr	w10, [x21]
	orr	w8, w10, w8
	stp	w8, w9, [x21]
	b	LBB0_6
LBB0_11:
Lloh12:
	adrp	x8, _errno@GOTPAGE
Lloh13:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
Lloh15:
	adrp	x9, _ESRCH@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ESRCH@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
Lloh18:
	adrp	x10, _EDT_NOPROV@GOTPAGE
Lloh19:
	ldr	x10, [x10, _EDT_NOPROV@GOTPAGEOFF]
Lloh20:
	ldr	x10, [x10]
	cmp	x8, x9
	csel	x1, x10, x8, eq
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EDT_NOPROV,8,3                 ; @EDT_NOPROV
	.comm	_DTRACE_PROVNAMELEN,4,2         ; @DTRACE_PROVNAMELEN
	.comm	_DTRACEIOC_PROVIDER,4,2         ; @DTRACEIOC_PROVIDER
	.comm	_errno,8,3                      ; @errno
	.comm	_ESRCH,8,3                      ; @ESRCH
	.comm	_DT_PROVIDER_IMPL,4,2           ; @DT_PROVIDER_IMPL
.subsections_via_symbols
