	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function umc_set_speeds
_umc_set_speeds:                        ## @umc_set_speeds
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	$90, %edi
	movl	$264, %esi                      ## imm = 0x108
	callq	_outb_p
	movq	_speedtab@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	16(%rbx), %rcx
	movq	24(%rbx), %rdx
	movl	(%rax,%rdx,4), %esi
	shll	$4, %esi
	orl	(%rax,%rcx,4), %esi
	movl	$215, %edi
	callq	_out_umc
	movq	(%r14), %rax
	movq	(%rax), %rax
	movq	(%rbx), %rcx
	movq	8(%rbx), %rdx
	movl	(%rax,%rdx,4), %esi
	shll	$4, %esi
	orl	(%rax,%rcx,4), %esi
	movl	$214, %edi
	callq	_out_umc
	movq	(%r14), %rax
	movq	8(%rax), %rax
	movq	24(%rbx), %rcx
	movl	(%rax,%rcx,4), %ecx
	movq	16(%rbx), %rdx
	movl	(%rax,%rdx,4), %esi
	shll	$4, %ecx
	shll	$2, %esi
	orl	%ecx, %esi
	movq	8(%rbx), %rcx
	orl	(%rax,%rcx,4), %esi
	movq	(%rbx), %rcx
	shll	$2, %esi
	orl	(%rax,%rcx,4), %esi
	movl	$220, %edi
	callq	_out_umc
	movq	(%r14), %rax
	movq	16(%rax), %rax
	movq	(%rbx), %rcx
	movl	(%rax,%rcx,4), %esi
	movl	$208, %edi
	callq	_out_umc
	movq	(%r14), %rax
	movq	16(%rax), %rax
	movq	(%rbx), %rcx
	movl	(%rax,%rcx,4), %esi
	movl	$216, %edi
	callq	_out_umc
	movq	(%r14), %rax
	movq	16(%rax), %rax
	movq	8(%rbx), %rcx
	movl	(%rax,%rcx,4), %esi
	movl	$209, %edi
	callq	_out_umc
	movq	(%r14), %rax
	movq	16(%rax), %rax
	movq	8(%rbx), %rcx
	movl	(%rax,%rcx,4), %esi
	movl	$217, %edi
	callq	_out_umc
	movq	(%r14), %rax
	movq	16(%rax), %rax
	movq	16(%rbx), %rcx
	movl	(%rax,%rcx,4), %esi
	movl	$210, %edi
	callq	_out_umc
	movq	(%r14), %rax
	movq	16(%rax), %rax
	movq	16(%rbx), %rcx
	movl	(%rax,%rcx,4), %esi
	movl	$218, %edi
	callq	_out_umc
	movq	(%r14), %rax
	movq	16(%rax), %rax
	movq	24(%rbx), %rcx
	movl	(%rax,%rcx,4), %esi
	movl	$211, %edi
	callq	_out_umc
	movq	(%r14), %rax
	movq	16(%rax), %rax
	movq	24(%rbx), %rcx
	movl	(%rax,%rcx,4), %esi
	movl	$219, %edi
	callq	_out_umc
	movl	$165, %edi
	movl	$264, %esi                      ## imm = 0x108
	callq	_outb_p
	movq	(%rbx), %rsi
	movq	8(%rbx), %rdx
	movq	16(%rbx), %rcx
	movq	24(%rbx), %r8
	leaq	L_.str(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_printk                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_speedtab,8,3                   ## @speedtab
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"umc8672: drive speeds [0 to 11]: %d %d %d %d\n"

	.no_dead_strip	_umc_set_speeds
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function umc_set_speeds
_umc_set_speeds:                        ; @umc_set_speeds
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w0, #90
	mov	w1, #264
	bl	_outb_p
Lloh0:
	adrp	x20, _speedtab@GOTPAGE
Lloh1:
	ldr	x20, [x20, _speedtab@GOTPAGEOFF]
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldp	x9, x10, [x19, #16]
	ldr	w9, [x8, x9, lsl #2]
	ldr	w8, [x8, x10, lsl #2]
	orr	w1, w9, w8, lsl #4
	mov	w0, #215
	bl	_out_umc
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldp	x9, x10, [x19]
	ldr	w9, [x8, x9, lsl #2]
	ldr	w8, [x8, x10, lsl #2]
	orr	w1, w9, w8, lsl #4
	mov	w0, #214
	bl	_out_umc
	ldr	x8, [x20]
	ldr	x8, [x8, #8]
	ldp	x10, x9, [x19, #16]
	ldr	w9, [x8, x9, lsl #2]
	ldr	w10, [x8, x10, lsl #2]
	lsl	w9, w9, #4
	orr	w9, w9, w10, lsl #2
	ldp	x11, x10, [x19]
	ldr	w10, [x8, x10, lsl #2]
	orr	w9, w10, w9
	ldr	w8, [x8, x11, lsl #2]
	orr	w1, w8, w9, lsl #2
	mov	w0, #220
	bl	_out_umc
	ldr	x8, [x20]
	ldr	x8, [x8, #16]
	ldr	x9, [x19]
	ldr	w1, [x8, x9, lsl #2]
	mov	w0, #208
	bl	_out_umc
	ldr	x8, [x20]
	ldr	x8, [x8, #16]
	ldr	x9, [x19]
	ldr	w1, [x8, x9, lsl #2]
	mov	w0, #216
	bl	_out_umc
	ldr	x8, [x20]
	ldr	x8, [x8, #16]
	ldr	x9, [x19, #8]
	ldr	w1, [x8, x9, lsl #2]
	mov	w0, #209
	bl	_out_umc
	ldr	x8, [x20]
	ldr	x8, [x8, #16]
	ldr	x9, [x19, #8]
	ldr	w1, [x8, x9, lsl #2]
	mov	w0, #217
	bl	_out_umc
	ldr	x8, [x20]
	ldr	x8, [x8, #16]
	ldr	x9, [x19, #16]
	ldr	w1, [x8, x9, lsl #2]
	mov	w0, #210
	bl	_out_umc
	ldr	x8, [x20]
	ldr	x8, [x8, #16]
	ldr	x9, [x19, #16]
	ldr	w1, [x8, x9, lsl #2]
	mov	w0, #218
	bl	_out_umc
	ldr	x8, [x20]
	ldr	x8, [x8, #16]
	ldr	x9, [x19, #24]
	ldr	w1, [x8, x9, lsl #2]
	mov	w0, #211
	bl	_out_umc
	ldr	x8, [x20]
	ldr	x8, [x8, #16]
	ldr	x9, [x19, #24]
	ldr	w1, [x8, x9, lsl #2]
	mov	w0, #219
	bl	_out_umc
	mov	w0, #165
	mov	w1, #264
	bl	_outb_p
	ldp	x1, x2, [x19]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x3, x4, [x19, #16]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_printk
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_speedtab,8,3                   ; @speedtab
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"umc8672: drive speeds [0 to 11]: %d %d %d %d\n"

	.no_dead_strip	_umc_set_speeds
.subsections_via_symbols
