	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cdrom_mode_sense               ## -- Begin function cdrom_mode_sense
	.p2align	4, 0x90
_cdrom_mode_sense:                      ## @cdrom_mode_sense
	.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
	movl	%ecx, %ebx
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rdi), %r13
	movq	(%rsi), %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movq	_GPCMD_MODE_SENSE_10@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r15), %rcx
	movl	%eax, (%rcx)
	shll	$6, %ebx
	orl	%r12d, %ebx
	movl	%ebx, 8(%rcx)
	movl	8(%r15), %eax
	sarl	$8, %eax
	movl	%eax, 28(%rcx)
	movzbl	8(%r15), %eax
	movl	%eax, 32(%rcx)
	movq	_CGC_DATA_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r15)
	movq	(%r13), %rax
	movq	%r14, %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GPCMD_MODE_SENSE_10,4,2        ## @GPCMD_MODE_SENSE_10
	.comm	_CGC_DATA_READ,4,2              ## @CGC_DATA_READ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cdrom_mode_sense               ; -- Begin function cdrom_mode_sense
	.p2align	2
_cdrom_mode_sense:                      ; @cdrom_mode_sense
	.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, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x23, [x0]
	ldr	x0, [x1]
	mov	w1, #0
	mov	w2, #8
	bl	_memset
Lloh0:
	adrp	x8, _GPCMD_MODE_SENSE_10@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GPCMD_MODE_SENSE_10@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [x21]
	str	w8, [x9]
	orr	w8, w20, w19, lsl #6
	str	w8, [x9, #8]
	ldr	w8, [x21, #8]
	asr	w8, w8, #8
	str	w8, [x9, #28]
	ldrb	w8, [x21, #8]
Lloh3:
	adrp	x10, _CGC_DATA_READ@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CGC_DATA_READ@GOTPAGEOFF]
	str	w8, [x9, #32]
Lloh5:
	ldr	w8, [x10]
	str	w8, [x21, #12]
	ldr	x2, [x23]
	mov	x0, x22
	mov	x1, x21
	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
	br	x2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GPCMD_MODE_SENSE_10,4,2        ; @GPCMD_MODE_SENSE_10
	.comm	_CGC_DATA_READ,4,2              ; @CGC_DATA_READ
.subsections_via_symbols
