	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ide_init_queue
LCPI0_0:
	.long	1                               ## 0x1
	.long	32                              ## 0x20
	.long	1                               ## 0x1
	.long	4                               ## 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_ide_init_queue:                        ## @ide_init_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	40(%rdi), %r15
	movq	_PRD_ENTRIES@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	leaq	8(%rdi), %r12
	movq	_ide_mq_ops@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rdi)
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,32,1,4]
	movups	%xmm0, 8(%rdi)
	movq	%r15, %rdi
	callq	_hwif_to_node
	movl	%eax, 28(%rbx)
	movq	_BLK_MQ_F_SHOULD_MERGE@GOTPCREL(%rip), %rax
	movq	_BLK_MQ_F_BLOCKING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 24(%rbx)
	movq	%r12, %rdi
	callq	_blk_mq_alloc_tag_set
	movl	$1, %r14d
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	movq	%r12, %rdi
	callq	_blk_mq_init_queue
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%r12, %rdi
	callq	_blk_mq_free_tag_set
	jmp	LBB0_4
LBB0_3:
	movq	_QUEUE_FLAG_SCSI_PASSTHROUGH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_blk_queue_flag_set
	movq	%rbx, (%r13)
	movq	%r13, %rdi
	movl	$65535, %esi                    ## imm = 0xFFFF
	callq	_blk_queue_segment_boundary
	movl	(%r15), %eax
	cmpl	$256, %eax                      ## imm = 0x100
	movl	$256, %esi                      ## imm = 0x100
	cmovll	%eax, %esi
	movq	%r13, %rdi
	callq	_blk_queue_max_hw_sectors
	movq	%r13, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_blk_queue_max_segments
	movq	%r13, (%rbx)
	xorl	%r14d, %r14d
LBB0_4:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PRD_ENTRIES,4,2                ## @PRD_ENTRIES
	.comm	_ide_mq_ops,4,2                 ## @ide_mq_ops
	.comm	_BLK_MQ_F_SHOULD_MERGE,4,2      ## @BLK_MQ_F_SHOULD_MERGE
	.comm	_BLK_MQ_F_BLOCKING,4,2          ## @BLK_MQ_F_BLOCKING
	.comm	_QUEUE_FLAG_SCSI_PASSTHROUGH,4,2 ## @QUEUE_FLAG_SCSI_PASSTHROUGH
	.no_dead_strip	_ide_init_queue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function ide_init_queue
lCPI0_0:
	.long	1                               ; 0x1
	.long	32                              ; 0x20
	.long	1                               ; 0x1
	.long	4                               ; 0x4
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ide_init_queue:                        ; @ide_init_queue
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	mov	x22, x0
	str	q0, [x22, #8]!
	ldr	x21, [x22, #32]
Lloh2:
	adrp	x8, _PRD_ENTRIES@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PRD_ENTRIES@GOTPAGEOFF]
Lloh4:
	ldr	w20, [x8]
Lloh5:
	adrp	x8, _ide_mq_ops@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ide_mq_ops@GOTPAGEOFF]
	str	x8, [x22, #24]
	mov	x0, x21
	bl	_hwif_to_node
Lloh7:
	adrp	x8, _BLK_MQ_F_SHOULD_MERGE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BLK_MQ_F_SHOULD_MERGE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _BLK_MQ_F_BLOCKING@GOTPAGE
Lloh11:
	ldr	x9, [x9, _BLK_MQ_F_BLOCKING@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	orr	w8, w9, w8
	stp	w8, w0, [x22, #16]
	mov	x0, x22
	bl	_blk_mq_alloc_tag_set
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_5
LBB0_2:
	mov	x0, x22
	bl	_blk_mq_init_queue
	mov	x23, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x22
	bl	_blk_mq_free_tag_set
	mov	w0, #1
	b	LBB0_5
LBB0_4:
Lloh13:
	adrp	x8, _QUEUE_FLAG_SCSI_PASSTHROUGH@GOTPAGE
Lloh14:
	ldr	x8, [x8, _QUEUE_FLAG_SCSI_PASSTHROUGH@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_blk_queue_flag_set
	str	x19, [x23]
	mov	x0, x23
	mov	w1, #65535
	bl	_blk_queue_segment_boundary
	ldr	w8, [x21]
	mov	w9, #256
	cmp	w8, #256
	csel	w1, w8, w9, lt
	mov	x0, x23
	bl	_blk_queue_max_hw_sectors
	mov	x0, x23
	mov	x1, x20
	bl	_blk_queue_max_segments
	mov	w0, #0
	str	x23, [x19]
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_PRD_ENTRIES,4,2                ; @PRD_ENTRIES
	.comm	_ide_mq_ops,4,2                 ; @ide_mq_ops
	.comm	_BLK_MQ_F_SHOULD_MERGE,4,2      ; @BLK_MQ_F_SHOULD_MERGE
	.comm	_BLK_MQ_F_BLOCKING,4,2          ; @BLK_MQ_F_BLOCKING
	.comm	_QUEUE_FLAG_SCSI_PASSTHROUGH,4,2 ; @QUEUE_FLAG_SCSI_PASSTHROUGH
	.no_dead_strip	_ide_init_queue
.subsections_via_symbols
