	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_blk_lookup_devt                ## -- Begin function blk_lookup_devt
	.p2align	4, 0x90
_blk_lookup_devt:                       ## @blk_lookup_devt
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r13
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_MKDEV
	movl	%eax, %r14d
	movq	_block_class@GOTPCREL(%rip), %rsi
	movq	_disk_type@GOTPCREL(%rip), %rcx
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_class_dev_iter_init
	movq	%rbx, %rdi
	callq	_class_dev_iter_next
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, %rbx
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	leaq	-48(%rbp), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_class_dev_iter_next
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_dev_to_disk
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_dev_name
	movl	%eax, %edi
	movq	%r13, %rsi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%r15d, (%r14)
	jg	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_disk_get_part
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edi, %edi
	callq	_disk_put_part
	jmp	LBB0_8
LBB0_9:
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	jmp	LBB0_10
LBB0_4:
	movl	(%rbx), %edi
	callq	_MAJOR
	movl	%eax, %r14d
	movl	(%rbx), %edi
	callq	_MINOR
	movslq	%r15d, %rsi
	addq	%rax, %rsi
	movl	%r14d, %edi
	callq	_MKDEV
	movl	%eax, %r14d
	jmp	LBB0_10
LBB0_6:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_part_devt
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_disk_put_part
LBB0_10:
	leaq	-48(%rbp), %rdi
	callq	_class_dev_iter_exit
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_block_class,4,2                ## @block_class
	.comm	_disk_type,4,2                  ## @disk_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_blk_lookup_devt                ; -- Begin function blk_lookup_devt
	.p2align	2
_blk_lookup_devt:                       ; @blk_lookup_devt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x21, x0
	mov	w0, #0
	mov	x1, #0
	bl	_MKDEV
	mov	x19, x0
Lloh0:
	adrp	x1, _block_class@GOTPAGE
Lloh1:
	ldr	x1, [x1, _block_class@GOTPAGEOFF]
Lloh2:
	adrp	x3, _disk_type@GOTPAGE
Lloh3:
	ldr	x3, [x3, _disk_type@GOTPAGEOFF]
	add	x0, sp, #8
	mov	x2, #0
	bl	_class_dev_iter_init
	add	x0, sp, #8
	bl	_class_dev_iter_next
	cbz	x0, LBB0_9
; %bb.1:
	mov	x22, x0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #8
	bl	_class_dev_iter_next
	mov	x22, x0
	cbz	x0, LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	bl	_dev_to_disk
	mov	x23, x0
	mov	x0, x22
	bl	_dev_name
	mov	x1, x21
	bl	_strcmp
	cbnz	x0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x23]
	cmp	w8, w20
	b.gt	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	mov	x1, x20
	bl	_disk_get_part
	cbnz	x0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_disk_put_part
	b	LBB0_2
LBB0_7:
	ldr	w0, [x22]
	bl	_MAJOR
	mov	x19, x0
	ldr	w0, [x22]
	bl	_MINOR
	add	x1, x0, w20, sxtw
	mov	x0, x19
	bl	_MKDEV
	mov	x19, x0
	b	LBB0_9
LBB0_8:
	mov	x22, x0
	bl	_part_devt
	mov	x19, x0
	mov	x0, x22
	bl	_disk_put_part
LBB0_9:
	add	x0, sp, #8
	bl	_class_dev_iter_exit
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_block_class,4,2                ; @block_class
	.comm	_disk_type,4,2                  ; @disk_type
.subsections_via_symbols
