	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jmb38x_ms_set_param
_jmb38x_ms_set_param:                   ## @jmb38x_ms_set_param
	.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	%edx, %r14d
	movl	%esi, %ebx
	callq	_memstick_priv
	movq	%rax, %r13
	movq	_HOST_CONTROL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	16(%r13), %rdi
	callq	_readl
	movl	%eax, %r12d
	cmpl	$129, %ebx
	je	LBB0_11
## %bb.1:
	xorl	%r15d, %r15d
	cmpl	$128, %ebx
	jne	LBB0_19
## %bb.2:
	movq	_MEMSTICK_POWER_ON@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_9
## %bb.3:
	movq	%r13, %rdi
	callq	_jmb38x_ms_reset
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_19
## %bb.4:
	movq	_HOST_CONTROL_POWER_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_HOST_CONTROL_CLOCK_EN@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	orl	$7, %edi
	movq	_HOST_CONTROL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%r13), %rsi
	callq	_writel
	cmpl	$0, 24(%r13)
	jne	LBB0_5
## %bb.6:
	movq	_PAD_PU_PD_ON_MS_SOCK0@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_11:
	movq	_CLOCK_CONTROL_BY_MMIO@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	8(%r13), %rax
	movq	(%rax), %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	_HOST_CONTROL_FAST_CLK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_HOST_CONTROL_REI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_HOST_CONTROL_REO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	%eax, %edx
	movl	%edx, %ecx
	orl	%esi, %ecx
	notl	%ecx
	andl	%ecx, %r12d
	movq	_HOST_CONTROL_TDELAY_EN@GOTPCREL(%rip), %rcx
	movq	_HOST_CONTROL_HW_OC_P@GOTPCREL(%rip), %rdi
	movl	(%rdi), %ebx
	orl	(%rcx), %ebx
	orl	%r12d, %ebx
	movq	_HOST_CONTROL_IF_SHIFT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	$3, %edi
	shll	%cl, %edi
	notl	%edi
	andl	%ebx, %edi
	movq	_MEMSTICK_SERIAL@GOTPCREL(%rip), %rbx
	cmpl	%r14d, (%rbx)
	jne	LBB0_13
## %bb.12:
	movq	_HOST_CONTROL_IF_SERIAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	orl	%esi, %edi
	orl	%eax, %edi
	movq	_CLOCK_CONTROL_40MHZ@GOTPCREL(%rip), %rax
	movq	_HOST_CONTROL@GOTPCREL(%rip), %rcx
	xorl	%r12d, %r12d
	jmp	LBB0_18
LBB0_9:
	movq	_MEMSTICK_POWER_OFF@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	jne	LBB0_20
## %bb.10:
	movq	_HOST_CONTROL_POWER_EN@GOTPCREL(%rip), %rax
	movq	_HOST_CONTROL_CLOCK_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	%ecx, %r12d
	movq	_HOST_CONTROL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%r13), %rsi
	movl	%r12d, %edi
	callq	_writel
	movq	_PAD_OUTPUT_ENABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%r13), %rsi
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	callq	_writel
	movq	_PAD_PU_PD_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PAD_PU_PD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%r13), %rsi
	callq	_writel
	movq	8(%r13), %rax
	movq	(%rax), %rdi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_8
LBB0_13:
	movq	_MEMSTICK_PAR4@GOTPCREL(%rip), %rsi
	cmpl	%r14d, (%rsi)
	jne	LBB0_15
## %bb.14:
	movq	_HOST_CONTROL_IF_PAR4@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %eax
	orl	%edi, %edx
	orl	%eax, %edx
	movl	$4, %r12d
	movq	_CLOCK_CONTROL_40MHZ@GOTPCREL(%rip), %rax
	movl	%edx, %edi
	jmp	LBB0_17
LBB0_15:
	movq	_MEMSTICK_PAR8@GOTPCREL(%rip), %rdx
	cmpl	%r14d, (%rdx)
	jne	LBB0_20
## %bb.16:
	movq	_HOST_CONTROL_IF_PAR8@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	orl	%eax, %edi
	orl	%edx, %edi
	xorl	%r12d, %r12d
	movq	_CLOCK_CONTROL_50MHZ@GOTPCREL(%rip), %rax
LBB0_17:
	movq	_HOST_CONTROL@GOTPCREL(%rip), %rcx
LBB0_18:
	orl	(%rax), %r15d
	movq	(%rcx), %rsi
	addq	16(%r13), %rsi
	callq	_writel
	movq	_CLOCK_CONTROL_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CLOCK_CONTROL@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	addq	16(%r13), %rsi
	callq	_writel
	movq	(%rbx), %rsi
	addq	16(%r13), %rsi
	movl	%r15d, %edi
	callq	_writel
	movq	8(%r13), %rax
	movq	(%rax), %rdi
	movq	_PCI_CTL_CLOCK_DLY_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	incl	%esi
	movl	%r12d, %edx
	callq	_pci_write_config_byte
	movl	%r14d, (%r13)
	xorl	%r15d, %r15d
	jmp	LBB0_19
LBB0_20:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_19
LBB0_5:
	movq	_PAD_PU_PD_ON_MS_SOCK1@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %edi
	movq	_PAD_PU_PD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%r13), %rsi
	callq	_writel
	movq	_PAD_OUTPUT_ENABLE_MS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PAD_OUTPUT_ENABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	16(%r13), %rsi
	callq	_writel
	movl	$10, %edi
	callq	_msleep
	movq	8(%r13), %rax
	movq	(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%r15d, %r15d
LBB0_8:
	xorl	%eax, %eax
	callq	_dev_dbg
LBB0_19:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HOST_CONTROL,8,3               ## @HOST_CONTROL
	.comm	_CLOCK_CONTROL_BY_MMIO,4,2      ## @CLOCK_CONTROL_BY_MMIO
	.comm	_MEMSTICK_POWER_ON,4,2          ## @MEMSTICK_POWER_ON
	.comm	_HOST_CONTROL_POWER_EN,4,2      ## @HOST_CONTROL_POWER_EN
	.comm	_HOST_CONTROL_CLOCK_EN,4,2      ## @HOST_CONTROL_CLOCK_EN
	.comm	_PAD_PU_PD_ON_MS_SOCK1,4,2      ## @PAD_PU_PD_ON_MS_SOCK1
	.comm	_PAD_PU_PD_ON_MS_SOCK0,4,2      ## @PAD_PU_PD_ON_MS_SOCK0
	.comm	_PAD_PU_PD,8,3                  ## @PAD_PU_PD
	.comm	_PAD_OUTPUT_ENABLE_MS,4,2       ## @PAD_OUTPUT_ENABLE_MS
	.comm	_PAD_OUTPUT_ENABLE,8,3          ## @PAD_OUTPUT_ENABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"power on\n"

	.comm	_MEMSTICK_POWER_OFF,4,2         ## @MEMSTICK_POWER_OFF
	.comm	_PAD_PU_PD_OFF,4,2              ## @PAD_PU_PD_OFF
L_.str.1:                               ## @.str.1
	.asciz	"power off\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"Set Host Interface Mode to %d\n"

	.comm	_HOST_CONTROL_FAST_CLK,4,2      ## @HOST_CONTROL_FAST_CLK
	.comm	_HOST_CONTROL_REI,4,2           ## @HOST_CONTROL_REI
	.comm	_HOST_CONTROL_REO,4,2           ## @HOST_CONTROL_REO
	.comm	_HOST_CONTROL_TDELAY_EN,4,2     ## @HOST_CONTROL_TDELAY_EN
	.comm	_HOST_CONTROL_HW_OC_P,4,2       ## @HOST_CONTROL_HW_OC_P
	.comm	_HOST_CONTROL_IF_SHIFT,4,2      ## @HOST_CONTROL_IF_SHIFT
	.comm	_MEMSTICK_SERIAL,4,2            ## @MEMSTICK_SERIAL
	.comm	_HOST_CONTROL_IF_SERIAL,4,2     ## @HOST_CONTROL_IF_SERIAL
	.comm	_CLOCK_CONTROL_40MHZ,4,2        ## @CLOCK_CONTROL_40MHZ
	.comm	_MEMSTICK_PAR4,4,2              ## @MEMSTICK_PAR4
	.comm	_HOST_CONTROL_IF_PAR4,4,2       ## @HOST_CONTROL_IF_PAR4
	.comm	_MEMSTICK_PAR8,4,2              ## @MEMSTICK_PAR8
	.comm	_HOST_CONTROL_IF_PAR8,4,2       ## @HOST_CONTROL_IF_PAR8
	.comm	_CLOCK_CONTROL_50MHZ,4,2        ## @CLOCK_CONTROL_50MHZ
	.comm	_CLOCK_CONTROL_OFF,4,2          ## @CLOCK_CONTROL_OFF
	.comm	_CLOCK_CONTROL,8,3              ## @CLOCK_CONTROL
	.comm	_PCI_CTL_CLOCK_DLY_ADDR,4,2     ## @PCI_CTL_CLOCK_DLY_ADDR
	.no_dead_strip	_jmb38x_ms_set_param
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jmb38x_ms_set_param
_jmb38x_ms_set_param:                   ; @jmb38x_ms_set_param
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x2
	mov	x22, x1
	bl	_memstick_priv
	mov	x19, x0
	ldr	x8, [x0, #16]
Lloh0:
	adrp	x23, _HOST_CONTROL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _HOST_CONTROL@GOTPAGEOFF]
	ldr	x9, [x23]
	add	x0, x9, x8
	bl	_readl
	mov	x21, x0
	cmp	w22, #129
	b.eq	LBB0_5
; %bb.1:
	cmp	w22, #128
	b.ne	LBB0_7
; %bb.2:
Lloh2:
	adrp	x8, _MEMSTICK_POWER_ON@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MEMSTICK_POWER_ON@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_8
; %bb.3:
	mov	x0, x19
	bl	_jmb38x_ms_reset
	cbnz	w0, LBB0_18
; %bb.4:
Lloh5:
	adrp	x8, _HOST_CONTROL_POWER_EN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HOST_CONTROL_POWER_EN@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _HOST_CONTROL_CLOCK_EN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _HOST_CONTROL_CLOCK_EN@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w8, w9
	orr	w0, w8, #0x7
	ldr	x8, [x19, #16]
	ldr	x9, [x23]
	add	x1, x9, x8
	bl	_writel
	ldr	w8, [x19, #24]
Lloh11:
	adrp	x9, _PAD_PU_PD_ON_MS_SOCK1@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PAD_PU_PD_ON_MS_SOCK1@GOTPAGEOFF]
Lloh13:
	adrp	x10, _PAD_PU_PD_ON_MS_SOCK0@GOTPAGE
Lloh14:
	ldr	x10, [x10, _PAD_PU_PD_ON_MS_SOCK0@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x10, x9, eq
	ldr	w0, [x8]
	ldr	x8, [x19, #16]
Lloh15:
	adrp	x9, _PAD_PU_PD@GOTPAGE
Lloh16:
	ldr	x9, [x9, _PAD_PU_PD@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
Lloh18:
	adrp	x8, _PAD_OUTPUT_ENABLE_MS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PAD_OUTPUT_ENABLE_MS@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldr	x8, [x19, #16]
Lloh21:
	adrp	x9, _PAD_OUTPUT_ENABLE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _PAD_OUTPUT_ENABLE@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	mov	w0, #10
	bl	_msleep
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_10
LBB0_5:
Lloh26:
	adrp	x8, _CLOCK_CONTROL_BY_MMIO@GOTPAGE
Lloh27:
	ldr	x8, [x8, _CLOCK_CONTROL_BY_MMIO@GOTPAGEOFF]
Lloh28:
	ldr	w22, [x8]
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
	str	x20, [sp]
Lloh29:
	adrp	x1, l_.str.2@PAGE
Lloh30:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_dbg
Lloh31:
	adrp	x8, _HOST_CONTROL_FAST_CLK@GOTPAGE
Lloh32:
	ldr	x8, [x8, _HOST_CONTROL_FAST_CLK@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
Lloh34:
	adrp	x9, _HOST_CONTROL_REI@GOTPAGE
Lloh35:
	ldr	x9, [x9, _HOST_CONTROL_REI@GOTPAGEOFF]
Lloh36:
	ldr	w12, [x9]
Lloh37:
	adrp	x9, _HOST_CONTROL_REO@GOTPAGE
Lloh38:
	ldr	x9, [x9, _HOST_CONTROL_REO@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	orr	w10, w9, w8
	orr	w9, w10, w12
	bic	w9, w21, w9
Lloh40:
	adrp	x11, _HOST_CONTROL_TDELAY_EN@GOTPAGE
Lloh41:
	ldr	x11, [x11, _HOST_CONTROL_TDELAY_EN@GOTPAGEOFF]
Lloh42:
	ldr	w11, [x11]
Lloh43:
	adrp	x13, _HOST_CONTROL_HW_OC_P@GOTPAGE
Lloh44:
	ldr	x13, [x13, _HOST_CONTROL_HW_OC_P@GOTPAGEOFF]
Lloh45:
	ldr	w13, [x13]
	orr	w11, w13, w11
	orr	w11, w11, w9
Lloh46:
	adrp	x9, _HOST_CONTROL_IF_SHIFT@GOTPAGE
Lloh47:
	ldr	x9, [x9, _HOST_CONTROL_IF_SHIFT@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	mov	w13, #3
	lsl	w13, w13, w9
	bic	w11, w11, w13
Lloh49:
	adrp	x13, _MEMSTICK_SERIAL@GOTPAGE
Lloh50:
	ldr	x13, [x13, _MEMSTICK_SERIAL@GOTPAGEOFF]
Lloh51:
	ldr	w13, [x13]
	cmp	w13, w20
	b.ne	LBB0_11
; %bb.6:
	mov	w21, #0
Lloh52:
	adrp	x8, _HOST_CONTROL_IF_SERIAL@GOTPAGE
Lloh53:
	ldr	x8, [x8, _HOST_CONTROL_IF_SERIAL@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
	lsl	w8, w8, w9
	orr	w9, w11, w12
	orr	w0, w9, w8
	b	LBB0_13
LBB0_7:
	mov	w0, #0
	b	LBB0_18
LBB0_8:
Lloh55:
	adrp	x8, _MEMSTICK_POWER_OFF@GOTPAGE
Lloh56:
	ldr	x8, [x8, _MEMSTICK_POWER_OFF@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_17
; %bb.9:
Lloh58:
	adrp	x8, _HOST_CONTROL_POWER_EN@GOTPAGE
Lloh59:
	ldr	x8, [x8, _HOST_CONTROL_POWER_EN@GOTPAGEOFF]
Lloh60:
	ldr	w8, [x8]
Lloh61:
	adrp	x9, _HOST_CONTROL_CLOCK_EN@GOTPAGE
Lloh62:
	ldr	x9, [x9, _HOST_CONTROL_CLOCK_EN@GOTPAGEOFF]
Lloh63:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w0, w21, w8
	ldr	x8, [x19, #16]
	ldr	x9, [x23]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19, #16]
Lloh64:
	adrp	x9, _PAD_OUTPUT_ENABLE@GOTPAGE
Lloh65:
	ldr	x9, [x9, _PAD_OUTPUT_ENABLE@GOTPAGEOFF]
Lloh66:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #0
	bl	_writel
Lloh67:
	adrp	x8, _PAD_PU_PD_OFF@GOTPAGE
Lloh68:
	ldr	x8, [x8, _PAD_PU_PD_OFF@GOTPAGEOFF]
Lloh69:
	ldr	w0, [x8]
	ldr	x8, [x19, #16]
Lloh70:
	adrp	x9, _PAD_PU_PD@GOTPAGE
Lloh71:
	ldr	x9, [x9, _PAD_PU_PD@GOTPAGEOFF]
Lloh72:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
Lloh73:
	adrp	x1, l_.str.1@PAGE
Lloh74:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_10:
	bl	_dev_dbg
	mov	w0, #0
	b	LBB0_18
LBB0_11:
Lloh75:
	adrp	x12, _MEMSTICK_PAR4@GOTPAGE
Lloh76:
	ldr	x12, [x12, _MEMSTICK_PAR4@GOTPAGEOFF]
Lloh77:
	ldr	w12, [x12]
	cmp	w12, w20
	b.ne	LBB0_15
; %bb.12:
Lloh78:
	adrp	x8, _HOST_CONTROL_IF_PAR4@GOTPAGE
Lloh79:
	ldr	x8, [x8, _HOST_CONTROL_IF_PAR4@GOTPAGEOFF]
Lloh80:
	ldr	w8, [x8]
	lsl	w8, w8, w9
	orr	w9, w10, w11
	orr	w0, w9, w8
	mov	w21, #4
LBB0_13:
Lloh81:
	adrp	x8, _CLOCK_CONTROL_40MHZ@GOTPAGE
Lloh82:
	ldr	x8, [x8, _CLOCK_CONTROL_40MHZ@GOTPAGEOFF]
LBB0_14:
	ldr	w8, [x8]
	orr	w22, w8, w22
	ldr	x8, [x19, #16]
	ldr	x9, [x23]
	add	x1, x9, x8
	bl	_writel
Lloh83:
	adrp	x8, _CLOCK_CONTROL_OFF@GOTPAGE
Lloh84:
	ldr	x8, [x8, _CLOCK_CONTROL_OFF@GOTPAGEOFF]
Lloh85:
	ldr	w0, [x8]
	ldr	x8, [x19, #16]
Lloh86:
	adrp	x23, _CLOCK_CONTROL@GOTPAGE
Lloh87:
	ldr	x23, [x23, _CLOCK_CONTROL@GOTPAGEOFF]
	ldr	x9, [x23]
	add	x1, x9, x8
	bl	_writel
	ldr	x8, [x19, #16]
	ldr	x9, [x23]
	add	x1, x9, x8
	mov	x0, x22
	bl	_writel
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
Lloh88:
	adrp	x8, _PCI_CTL_CLOCK_DLY_ADDR@GOTPAGE
Lloh89:
	ldr	x8, [x8, _PCI_CTL_CLOCK_DLY_ADDR@GOTPAGEOFF]
Lloh90:
	ldr	w8, [x8]
	add	w1, w8, #1
	mov	x2, x21
	bl	_pci_write_config_byte
	mov	w0, #0
	str	w20, [x19]
	b	LBB0_18
LBB0_15:
Lloh91:
	adrp	x10, _MEMSTICK_PAR8@GOTPAGE
Lloh92:
	ldr	x10, [x10, _MEMSTICK_PAR8@GOTPAGEOFF]
Lloh93:
	ldr	w10, [x10]
	cmp	w10, w20
	b.ne	LBB0_17
; %bb.16:
	mov	w21, #0
Lloh94:
	adrp	x10, _HOST_CONTROL_IF_PAR8@GOTPAGE
Lloh95:
	ldr	x10, [x10, _HOST_CONTROL_IF_PAR8@GOTPAGEOFF]
	orr	w8, w11, w8
Lloh96:
	ldr	w10, [x10]
	lsl	w9, w10, w9
	orr	w0, w8, w9
Lloh97:
	adrp	x8, _CLOCK_CONTROL_50MHZ@GOTPAGE
Lloh98:
	ldr	x8, [x8, _CLOCK_CONTROL_50MHZ@GOTPAGEOFF]
	b	LBB0_14
LBB0_17:
Lloh99:
	adrp	x8, _EINVAL@GOTPAGE
Lloh100:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh101:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_18:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGot	Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGot	Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh99, Lloh100, Lloh101
	.cfi_endproc
                                        ; -- End function
	.comm	_HOST_CONTROL,8,3               ; @HOST_CONTROL
	.comm	_CLOCK_CONTROL_BY_MMIO,4,2      ; @CLOCK_CONTROL_BY_MMIO
	.comm	_MEMSTICK_POWER_ON,4,2          ; @MEMSTICK_POWER_ON
	.comm	_HOST_CONTROL_POWER_EN,4,2      ; @HOST_CONTROL_POWER_EN
	.comm	_HOST_CONTROL_CLOCK_EN,4,2      ; @HOST_CONTROL_CLOCK_EN
	.comm	_PAD_PU_PD_ON_MS_SOCK1,4,2      ; @PAD_PU_PD_ON_MS_SOCK1
	.comm	_PAD_PU_PD_ON_MS_SOCK0,4,2      ; @PAD_PU_PD_ON_MS_SOCK0
	.comm	_PAD_PU_PD,8,3                  ; @PAD_PU_PD
	.comm	_PAD_OUTPUT_ENABLE_MS,4,2       ; @PAD_OUTPUT_ENABLE_MS
	.comm	_PAD_OUTPUT_ENABLE,8,3          ; @PAD_OUTPUT_ENABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"power on\n"

	.comm	_MEMSTICK_POWER_OFF,4,2         ; @MEMSTICK_POWER_OFF
	.comm	_PAD_PU_PD_OFF,4,2              ; @PAD_PU_PD_OFF
l_.str.1:                               ; @.str.1
	.asciz	"power off\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"Set Host Interface Mode to %d\n"

	.comm	_HOST_CONTROL_FAST_CLK,4,2      ; @HOST_CONTROL_FAST_CLK
	.comm	_HOST_CONTROL_REI,4,2           ; @HOST_CONTROL_REI
	.comm	_HOST_CONTROL_REO,4,2           ; @HOST_CONTROL_REO
	.comm	_HOST_CONTROL_TDELAY_EN,4,2     ; @HOST_CONTROL_TDELAY_EN
	.comm	_HOST_CONTROL_HW_OC_P,4,2       ; @HOST_CONTROL_HW_OC_P
	.comm	_HOST_CONTROL_IF_SHIFT,4,2      ; @HOST_CONTROL_IF_SHIFT
	.comm	_MEMSTICK_SERIAL,4,2            ; @MEMSTICK_SERIAL
	.comm	_HOST_CONTROL_IF_SERIAL,4,2     ; @HOST_CONTROL_IF_SERIAL
	.comm	_CLOCK_CONTROL_40MHZ,4,2        ; @CLOCK_CONTROL_40MHZ
	.comm	_MEMSTICK_PAR4,4,2              ; @MEMSTICK_PAR4
	.comm	_HOST_CONTROL_IF_PAR4,4,2       ; @HOST_CONTROL_IF_PAR4
	.comm	_MEMSTICK_PAR8,4,2              ; @MEMSTICK_PAR8
	.comm	_HOST_CONTROL_IF_PAR8,4,2       ; @HOST_CONTROL_IF_PAR8
	.comm	_CLOCK_CONTROL_50MHZ,4,2        ; @CLOCK_CONTROL_50MHZ
	.comm	_CLOCK_CONTROL_OFF,4,2          ; @CLOCK_CONTROL_OFF
	.comm	_CLOCK_CONTROL,8,3              ; @CLOCK_CONTROL
	.comm	_PCI_CTL_CLOCK_DLY_ADDR,4,2     ; @PCI_CTL_CLOCK_DLY_ADDR
	.no_dead_strip	_jmb38x_ms_set_param
.subsections_via_symbols
