	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mtip_read_log_page
_mtip_read_log_page:                    ## @mtip_read_log_page
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %ebx
	movl	%ecx, %r14d
	movq	%rdx, %r13
	movl	%esi, %r15d
	movq	%rdi, %r12
	leaq	-80(%rbp), %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movabsq	$549755813927, %rax             ## imm = 0x8000000027
	movq	%rax, -80(%rbp)
	movq	_ATA_CMD_READ_LOG_EXT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movzbl	%bl, %eax
	movl	%eax, -72(%rbp)
	movzbl	%bh, %eax
	movl	%eax, -68(%rbp)
	movl	%r15d, -48(%rbp)
	movq	$0, -56(%rbp)
	movq	_ATA_DEVICE_OBS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	_ATA_SECT_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	imull	%ebx, %edx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_memset
	imull	(%r15), %ebx
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_MTIP_INTERNAL_COMMAND_TIMEOUT_MS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	movq	%r12, %rdi
	leaq	-80(%rbp), %rsi
	movl	$5, %edx
	movl	%r14d, %ecx
	movl	%ebx, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	%r10
	callq	_mtip_exec_internal_command
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATA_CMD_READ_LOG_EXT,4,2       ## @ATA_CMD_READ_LOG_EXT
	.comm	_ATA_DEVICE_OBS,4,2             ## @ATA_DEVICE_OBS
	.comm	_ATA_SECT_SIZE,4,2              ## @ATA_SECT_SIZE
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_MTIP_INTERNAL_COMMAND_TIMEOUT_MS,4,2 ## @MTIP_INTERNAL_COMMAND_TIMEOUT_MS
	.no_dead_strip	_mtip_read_log_page
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function mtip_read_log_page
lCPI0_0:
	.long	39                              ; 0x27
	.long	128                             ; 0x80
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_mtip_read_log_page:                    ; @mtip_read_log_page
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #40
	bl	_memset
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #8]
	and	w8, w19, #0xff
	ubfx	w9, w19, #8, #8
	stp	w8, w9, [sp, #16]
Lloh2:
	adrp	x8, _ATA_CMD_READ_LOG_EXT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ATA_CMD_READ_LOG_EXT@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	stp	w22, w8, [sp, #40]
	str	xzr, [sp, #32]
Lloh5:
	adrp	x8, _ATA_DEVICE_OBS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ATA_DEVICE_OBS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [sp, #24]
Lloh8:
	adrp	x22, _ATA_SECT_SIZE@GOTPAGE
Lloh9:
	ldr	x22, [x22, _ATA_SECT_SIZE@GOTPAGEOFF]
	ldr	w8, [x22]
	mul	w2, w8, w19
	mov	x0, x21
	mov	w1, #0
	bl	_memset
	ldr	w8, [x22]
	mul	w4, w8, w19
Lloh10:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh12:
	ldr	w6, [x8]
Lloh13:
	adrp	x8, _MTIP_INTERNAL_COMMAND_TIMEOUT_MS@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MTIP_INTERNAL_COMMAND_TIMEOUT_MS@GOTPAGEOFF]
Lloh15:
	ldr	w7, [x8]
	add	x1, sp, #8
	mov	x0, x23
	mov	w2, #5
	mov	x3, x20
	mov	w5, #0
	bl	_mtip_exec_internal_command
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ATA_CMD_READ_LOG_EXT,4,2       ; @ATA_CMD_READ_LOG_EXT
	.comm	_ATA_DEVICE_OBS,4,2             ; @ATA_DEVICE_OBS
	.comm	_ATA_SECT_SIZE,4,2              ; @ATA_SECT_SIZE
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_MTIP_INTERNAL_COMMAND_TIMEOUT_MS,4,2 ; @MTIP_INTERNAL_COMMAND_TIMEOUT_MS
	.no_dead_strip	_mtip_read_log_page
.subsections_via_symbols
