	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_mq_init_request_queue       ## -- Begin function dm_mq_init_request_queue
	.p2align	4, 0x90
_dm_mq_init_request_queue:              ## @dm_mq_init_request_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
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	20(%rdi), %edx
	movl	$4, %edi
	callq	_kzalloc_node
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_dm_mq_ops@GOTPCREL(%rip), %rcx
	movq	%rcx, 32(%rax)
	xorl	%eax, %eax
	callq	_dm_get_blk_mq_queue_depth
	movq	8(%r15), %rcx
	movl	%eax, 28(%rcx)
	movl	20(%r15), %eax
	movl	%eax, 24(%rcx)
	movq	_BLK_MQ_F_SHOULD_MERGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rcx)
	xorl	%eax, %eax
	callq	_dm_get_blk_mq_nr_hw_queues
	movq	8(%r15), %rcx
	movl	%eax, 16(%rcx)
	movq	%r15, 8(%rcx)
	movl	$4, (%rcx)
	movq	%r14, %rdi
	callq	_dm_table_get_immutable_target
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	8(%r15), %rcx
	addl	%eax, (%rcx)
	movl	$1, (%r15)
LBB0_5:
	movq	8(%r15), %rdi
	callq	_blk_mq_alloc_tag_set
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.6:
	movq	8(%r15), %rdi
	movl	16(%r15), %esi
	movl	$1, %edx
	callq	_blk_mq_init_allocated_queue
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	8(%r15), %rdi
	callq	_blk_mq_free_tag_set
LBB0_9:
	movq	8(%r15), %rdi
	callq	_kfree
	jmp	LBB0_10
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_7:
	xorl	%ebx, %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_dm_mq_ops,4,2                  ## @dm_mq_ops
	.comm	_BLK_MQ_F_SHOULD_MERGE,4,2      ## @BLK_MQ_F_SHOULD_MERGE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dm_mq_init_request_queue       ; -- Begin function dm_mq_init_request_queue
	.p2align	2
_dm_mq_init_request_queue:              ; @dm_mq_init_request_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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x0, #20]
	mov	w21, #4
	mov	w0, #4
	bl	_kzalloc_node
	str	x0, [x19, #8]
	cbz	x0, LBB0_8
; %bb.1:
Lloh3:
	adrp	x8, _dm_mq_ops@GOTPAGE
Lloh4:
	ldr	x8, [x8, _dm_mq_ops@GOTPAGEOFF]
	str	x8, [x0, #32]
	bl	_dm_get_blk_mq_queue_depth
	ldr	x8, [x19, #8]
	str	w0, [x8, #28]
	ldr	w9, [x19, #20]
Lloh5:
	adrp	x10, _BLK_MQ_F_SHOULD_MERGE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _BLK_MQ_F_SHOULD_MERGE@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	stp	w10, w9, [x8, #20]
	bl	_dm_get_blk_mq_nr_hw_queues
	ldr	x8, [x19, #8]
	str	w0, [x8, #16]
	str	x19, [x8, #8]
	str	w21, [x8]
	mov	x0, x20
	bl	_dm_table_get_immutable_target
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	x9, [x19, #8]
	ldr	w10, [x9]
	add	w8, w10, w8
	str	w8, [x9]
	mov	w8, #1
	str	w8, [x19]
LBB0_4:
	ldr	x0, [x19, #8]
	bl	_blk_mq_alloc_tag_set
	mov	x20, x0
	cbnz	w0, LBB0_7
; %bb.5:
	ldr	x0, [x19, #8]
	ldr	w1, [x19, #16]
	mov	w2, #1
	bl	_blk_mq_init_allocated_queue
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_9
; %bb.6:
	mov	x0, x20
	bl	_PTR_ERR
	mov	x20, x0
	ldr	x0, [x19, #8]
	bl	_blk_mq_free_tag_set
LBB0_7:
	ldr	x0, [x19, #8]
	bl	_kfree
	b	LBB0_10
LBB0_8:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_10
LBB0_9:
	mov	w20, #0
LBB0_10:
	mov	x0, x20
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_dm_mq_ops,4,2                  ; @dm_mq_ops
	.comm	_BLK_MQ_F_SHOULD_MERGE,4,2      ; @BLK_MQ_F_SHOULD_MERGE
.subsections_via_symbols
