	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xlvbd_init_blk_queue
_xlvbd_init_blk_queue:                  ## @xlvbd_init_blk_queue
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_do_blkif_request@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_blkif_io_lock@GOTPCREL(%rip), %rsi
	callq	_blk_init_queue
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_QUEUE_FLAG_VIRT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_queue_flag_set_unlocked
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_blk_queue_logical_block_size
	movq	%rbx, %rdi
	movl	$512, %esi                      ## imm = 0x200
	callq	_blk_queue_max_hw_sectors
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	decq	%rsi
	movq	%rbx, %rdi
	callq	_blk_queue_segment_boundary
	movq	(%r15), %rsi
	movq	%rbx, %rdi
	callq	_blk_queue_max_segment_size
	movq	_BLKIF_MAX_SEGMENTS_PER_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_blk_queue_max_segments
	movq	%rbx, %rdi
	movl	$511, %esi                      ## imm = 0x1FF
	callq	_blk_queue_dma_alignment
	movq	_BLK_BOUNCE_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_blk_queue_bounce_limit
	movq	%rbx, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_do_blkif_request,4,2           ## @do_blkif_request
	.comm	_blkif_io_lock,4,2              ## @blkif_io_lock
	.comm	_QUEUE_FLAG_VIRT,4,2            ## @QUEUE_FLAG_VIRT
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.comm	_BLKIF_MAX_SEGMENTS_PER_REQUEST,4,2 ## @BLKIF_MAX_SEGMENTS_PER_REQUEST
	.comm	_BLK_BOUNCE_ANY,4,2             ## @BLK_BOUNCE_ANY
	.no_dead_strip	_xlvbd_init_blk_queue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xlvbd_init_blk_queue
_xlvbd_init_blk_queue:                  ; @xlvbd_init_blk_queue
	.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	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _do_blkif_request@GOTPAGE
Lloh1:
	ldr	x8, [x8, _do_blkif_request@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, _blkif_io_lock@GOTPAGE
Lloh4:
	ldr	x1, [x1, _blkif_io_lock@GOTPAGEOFF]
	bl	_blk_init_queue
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
Lloh5:
	adrp	x8, _QUEUE_FLAG_VIRT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _QUEUE_FLAG_VIRT@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_queue_flag_set_unlocked
	mov	x0, x20
	mov	x1, x21
	bl	_blk_queue_logical_block_size
	mov	x0, x20
	mov	w1, #512
	bl	_blk_queue_max_hw_sectors
Lloh8:
	adrp	x21, _PAGE_SIZE@GOTPAGE
Lloh9:
	ldr	x21, [x21, _PAGE_SIZE@GOTPAGEOFF]
	ldr	x8, [x21]
	sub	x1, x8, #1
	mov	x0, x20
	bl	_blk_queue_segment_boundary
	ldr	x1, [x21]
	mov	x0, x20
	bl	_blk_queue_max_segment_size
Lloh10:
	adrp	x8, _BLKIF_MAX_SEGMENTS_PER_REQUEST@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BLKIF_MAX_SEGMENTS_PER_REQUEST@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_blk_queue_max_segments
	mov	x0, x20
	mov	w1, #511
	bl	_blk_queue_dma_alignment
Lloh13:
	adrp	x8, _BLK_BOUNCE_ANY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _BLK_BOUNCE_ANY@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_blk_queue_bounce_limit
	mov	w0, #0
	str	x20, [x19]
	b	LBB0_3
LBB0_2:
	mov	w0, #-1
LBB0_3:
	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	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_do_blkif_request,4,2           ; @do_blkif_request
	.comm	_blkif_io_lock,4,2              ; @blkif_io_lock
	.comm	_QUEUE_FLAG_VIRT,4,2            ; @QUEUE_FLAG_VIRT
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.comm	_BLKIF_MAX_SEGMENTS_PER_REQUEST,4,2 ; @BLKIF_MAX_SEGMENTS_PER_REQUEST
	.comm	_BLK_BOUNCE_ANY,4,2             ; @BLK_BOUNCE_ANY
	.no_dead_strip	_xlvbd_init_blk_queue
.subsections_via_symbols
