	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dyn_open
_dyn_open:                              ## @dyn_open
	.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	%rcx, %r14
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	_DEV_CHAR@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpl	%edi, (%rcx)
	sete	%al
	movl	%eax, %edi
	callq	_assert
	movq	_DYN_DEV_MAJOR@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	%ebx, (%rax)
	sete	%dil
	callq	_assert
	movq	_dyn_info_char@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r15d, %rcx
	movq	(%rax,%rcx,8), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	8(%rax), %rcx
	movq	%rcx, (%r14)
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movl	%ebx, %edi
	movl	%r15d, %esi
	movq	%r14, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_1:
	movq	__ENXIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_4
LBB0_3:
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEV_CHAR,4,2                   ## @DEV_CHAR
	.comm	_DYN_DEV_MAJOR,4,2              ## @DYN_DEV_MAJOR
	.comm	_dyn_info_char,8,3              ## @dyn_info_char
	.comm	__ENXIO,4,2                     ## @_ENXIO
	.no_dead_strip	_dyn_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dyn_open
_dyn_open:                              ; @dyn_open
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x3
	mov	x20, x2
	mov	x21, x1
Lloh0:
	adrp	x8, _DEV_CHAR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEV_CHAR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	cset	w0, eq
	bl	_assert
Lloh3:
	adrp	x8, _DYN_DEV_MAJOR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DYN_DEV_MAJOR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w21
	cset	w0, eq
	bl	_assert
Lloh6:
	adrp	x8, _dyn_info_char@GOTPAGE
Lloh7:
	ldr	x8, [x8, _dyn_info_char@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	x8, [x8, w20, sxtw #3]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x3, [x8], #8
	str	x8, [x19]
	cbz	x3, LBB0_4
; %bb.2:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	br	x3
LBB0_3:
Lloh9:
	adrp	x8, __ENXIO@GOTPAGE
Lloh10:
	ldr	x8, [x8, __ENXIO@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_DEV_CHAR,4,2                   ; @DEV_CHAR
	.comm	_DYN_DEV_MAJOR,4,2              ; @DYN_DEV_MAJOR
	.comm	_dyn_info_char,8,3              ; @dyn_info_char
	.comm	__ENXIO,4,2                     ; @_ENXIO
	.no_dead_strip	_dyn_open
.subsections_via_symbols
