	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ide_identify_proc_show
_ide_identify_proc_show:                ## @ide_identify_proc_show
	.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, %r14
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	_SECTOR_SIZE@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r12
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_taskfile_lib_get_identify
	testq	%rax, %rax
	je	LBB0_5
## %bb.8:
	movsbl	(%r12), %esi
	movq	%r14, %rdi
	callq	_seq_putc
	jmp	LBB0_9
LBB0_1:
	movq	%r14, %rdi
	movl	$10, %esi
	callq	_seq_putc
	jmp	LBB0_10
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_11
LBB0_5:
	cmpl	$2, (%r13)
	jl	LBB0_9
## %bb.6:
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r15
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rbx,4), %edi
	callq	_le16_to_cpu
	movl	%ebx, %ecx
	notl	%ecx
	testb	$7, %cl
	movl	$32, %ecx
	movl	$10, %edx
	cmovel	%edx, %ecx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_seq_printf
	incq	%rbx
	movl	(%r13), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movslq	%ecx, %rax
	cmpq	%rax, %rbx
	jl	LBB0_7
LBB0_9:
	movq	%r12, %rdi
	callq	_kfree
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SECTOR_SIZE,4,2                ## @SECTOR_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%04x%c"

	.no_dead_strip	_ide_identify_proc_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ide_identify_proc_show
_ide_identify_proc_show:                ; @ide_identify_proc_show
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	x21, [x0]
	cbz	x21, LBB0_4
; %bb.1:
Lloh0:
	adrp	x22, _SECTOR_SIZE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SECTOR_SIZE@GOTPAGEOFF]
	ldr	w0, [x22]
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_kmalloc
	cbz	x0, LBB0_5
; %bb.2:
	mov	x20, x0
	mov	x0, x21
	mov	x1, x20
	bl	_taskfile_lib_get_identify
	cbz	x0, LBB0_6
; %bb.3:
	ldrsb	w1, [x20]
	mov	x0, x19
	bl	_seq_putc
	b	LBB0_9
LBB0_4:
	mov	x0, x19
	mov	w1, #10
	bl	_seq_putc
	b	LBB0_10
LBB0_5:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_6:
	ldr	w8, [x22]
	cmp	w8, #2
	b.lt	LBB0_9
; %bb.7:
	mov	x23, #0
	mov	w24, #32
	mov	w25, #10
Lloh8:
	adrp	x21, l_.str@PAGE
Lloh9:
	add	x21, x21, l_.str@PAGEOFF
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mvn	w26, w23
	ldr	w0, [x20, x23, lsl #2]
	bl	_le16_to_cpu
	mov	x2, x0
	tst	x26, #0x7
	csel	w3, w25, w24, eq
	mov	x0, x19
	mov	x1, x21
	bl	_seq_printf
	add	x23, x23, #1
	ldr	w8, [x22]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	cmp	x23, w8, sxtw
	b.lt	LBB0_8
LBB0_9:
	mov	x0, x20
	bl	_kfree
LBB0_10:
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_SECTOR_SIZE,4,2                ; @SECTOR_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%04x%c"

	.no_dead_strip	_ide_identify_proc_show
.subsections_via_symbols
