	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function loop_alloc
_loop_alloc:                            ## @loop_alloc
	.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	%edi, %r14d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	$56, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movq	_Lo_unbound@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	movl	(%r15), %edi
	callq	_blk_alloc_queue
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	movq	_loop_make_request@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_blk_queue_make_request
	movq	8(%rbx), %rax
	movq	%rbx, (%rax)
	movq	_part_shift@GOTPCREL(%rip), %r12
	movb	(%r12), %cl
	movl	$1, %edi
	shll	%cl, %edi
	callq	_alloc_disk
	movq	%rax, 40(%rbx)
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rax, %r15
	leaq	32(%rbx), %rdi
	callq	_mutex_init
	movl	%r14d, (%rbx)
	movq	$0, 24(%rbx)
	leaq	20(%rbx), %rdi
	callq	_init_waitqueue_head
	movq	%rbx, %rdi
	addq	$16, %rdi
	callq	_spin_lock_init
	movq	_LOOP_MAJOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r15)
	movb	(%r12), %cl
	movl	%r14d, %eax
	shll	%cl, %eax
	movl	%eax, (%r15)
	movq	_lo_fops@GOTPCREL(%rip), %rax
	movq	%rax, 24(%r15)
	movq	%rbx, 16(%r15)
	movq	8(%rbx), %rax
	movq	%rax, 8(%r15)
	movl	4(%r15), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_sprintf
	jmp	LBB0_7
LBB0_4:
	movq	8(%rbx), %rdi
	callq	_blk_cleanup_queue
LBB0_5:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_Lo_unbound,4,2                 ## @Lo_unbound
	.comm	_loop_make_request,4,2          ## @loop_make_request
	.comm	_part_shift,4,2                 ## @part_shift
	.comm	_LOOP_MAJOR,4,2                 ## @LOOP_MAJOR
	.comm	_lo_fops,4,2                    ## @lo_fops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"loop%d"

	.no_dead_strip	_loop_alloc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function loop_alloc
_loop_alloc:                            ; @loop_alloc
	.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	x20, x0
Lloh0:
	adrp	x21, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	w0, #56
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_6
; %bb.1:
Lloh2:
	adrp	x8, _Lo_unbound@GOTPAGE
Lloh3:
	ldr	x8, [x8, _Lo_unbound@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #48]
	ldr	w0, [x21]
	bl	_blk_alloc_queue
	str	x0, [x19, #8]
	cbz	x0, LBB0_5
; %bb.2:
Lloh5:
	adrp	x8, _loop_make_request@GOTPAGE
Lloh6:
	ldr	x8, [x8, _loop_make_request@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_blk_queue_make_request
	ldr	x8, [x19, #8]
	str	x19, [x8]
Lloh8:
	adrp	x22, _part_shift@GOTPAGE
Lloh9:
	ldr	x22, [x22, _part_shift@GOTPAGEOFF]
	ldr	w8, [x22]
	mov	w9, #1
	lsl	w0, w9, w8
	bl	_alloc_disk
	str	x0, [x19, #40]
	cbz	x0, LBB0_4
; %bb.3:
	mov	x21, x0
	add	x0, x19, #32
	bl	_mutex_init
	str	w20, [x19]
	str	xzr, [x19, #24]
	add	x0, x19, #20
	bl	_init_waitqueue_head
	add	x0, x19, #16
	bl	_spin_lock_init
Lloh10:
	adrp	x8, _LOOP_MAJOR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LOOP_MAJOR@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x21, #32]
	ldr	w8, [x22]
	lsl	w8, w20, w8
Lloh13:
	adrp	x9, _lo_fops@GOTPAGE
Lloh14:
	ldr	x9, [x9, _lo_fops@GOTPAGEOFF]
	str	w8, [x21]
	str	x9, [x21, #24]
	ldr	x8, [x19, #8]
	stp	x8, x19, [x21, #8]
	ldr	w0, [x21, #4]
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_sprintf
	b	LBB0_6
LBB0_4:
	ldr	x0, [x19, #8]
	bl	_blk_cleanup_queue
LBB0_5:
	mov	x0, x19
	bl	_kfree
	mov	x19, #0
LBB0_6:
	mov	x0, 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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_Lo_unbound,4,2                 ; @Lo_unbound
	.comm	_loop_make_request,4,2          ; @loop_make_request
	.comm	_part_shift,4,2                 ; @part_shift
	.comm	_LOOP_MAJOR,4,2                 ; @LOOP_MAJOR
	.comm	_lo_fops,4,2                    ; @lo_fops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"loop%d"

	.no_dead_strip	_loop_alloc
.subsections_via_symbols
