	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gl9750_wt_on
_gl9750_wt_on:                          ## @gl9750_wt_on
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_SDHCI_GLI_9750_WT@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_sdhci_readl
	movq	%rax, %rbx
	movq	_SDHCI_GLI_9750_WT_EN@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	movq	%rax, %rsi
	callq	_FIELD_GET
	movq	_GLI_9750_WT_EN_ON@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	cmpq	%rsi, %rax
	jne	LBB0_2
## %bb.1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	(%r12), %rdi
	movq	%rdi, %rax
	notq	%rax
	andq	%rax, %rbx
	callq	_FIELD_PREP
	orq	%rax, %rbx
	movl	(%r15), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sdhci_writel                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SDHCI_GLI_9750_WT,4,2          ## @SDHCI_GLI_9750_WT
	.comm	_SDHCI_GLI_9750_WT_EN,8,3       ## @SDHCI_GLI_9750_WT_EN
	.comm	_GLI_9750_WT_EN_ON,8,3          ## @GLI_9750_WT_EN_ON
	.no_dead_strip	_gl9750_wt_on
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gl9750_wt_on
_gl9750_wt_on:                          ; @gl9750_wt_on
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x21, _SDHCI_GLI_9750_WT@GOTPAGE
Lloh1:
	ldr	x21, [x21, _SDHCI_GLI_9750_WT@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_sdhci_readl
	mov	x20, x0
Lloh2:
	adrp	x22, _SDHCI_GLI_9750_WT_EN@GOTPAGE
Lloh3:
	ldr	x22, [x22, _SDHCI_GLI_9750_WT_EN@GOTPAGEOFF]
	ldr	x0, [x22]
	mov	x1, x20
	bl	_FIELD_GET
Lloh4:
	adrp	x8, _GLI_9750_WT_EN_ON@GOTPAGE
Lloh5:
	ldr	x8, [x8, _GLI_9750_WT_EN_ON@GOTPAGEOFF]
Lloh6:
	ldr	x1, [x8]
	cmp	x0, x1
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	x0, [x22]
	bic	x20, x20, x0
	bl	_FIELD_PREP
	orr	x1, x20, x0
	ldr	w2, [x21]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_sdhci_writel
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SDHCI_GLI_9750_WT,4,2          ; @SDHCI_GLI_9750_WT
	.comm	_SDHCI_GLI_9750_WT_EN,8,3       ; @SDHCI_GLI_9750_WT_EN
	.comm	_GLI_9750_WT_EN_ON,8,3          ; @GLI_9750_WT_EN_ON
	.no_dead_strip	_gl9750_wt_on
.subsections_via_symbols
