	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcmf_sdio_clkctl
_brcmf_sdio_clkctl:                     ## @brcmf_sdio_clkctl
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	_SDIO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_brcmf_dbg
	movl	(%r15), %esi
	cmpl	%ebx, %esi
	je	LBB0_16
## %bb.1:
	cmpl	$128, %ebx
	je	LBB0_7
## %bb.2:
	cmpl	$129, %ebx
	je	LBB0_12
## %bb.3:
	cmpl	$130, %ebx
	jne	LBB0_16
## %bb.4:
	cmpl	$129, %esi
	jne	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	movl	$1, %esi
	callq	_brcmf_sdio_sdclk
LBB0_6:
	movq	%r15, %rdi
	movl	$1, %esi
	movl	%r14d, %edx
	callq	_brcmf_sdio_htclk
	jmp	LBB0_16
LBB0_7:
	cmpl	$130, %esi
	je	LBB0_10
## %bb.8:
	cmpl	$129, %esi
	jne	LBB0_11
## %bb.9:
	movq	%r15, %rdi
	movl	$1, %esi
	jmp	LBB0_15
LBB0_12:
	cmpl	$130, %esi
	jne	LBB0_14
## %bb.13:
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_brcmf_sdio_htclk
LBB0_14:
	movq	%r15, %rdi
	xorl	%esi, %esi
LBB0_15:
	callq	_brcmf_sdio_sdclk
	jmp	LBB0_16
LBB0_10:
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_brcmf_sdio_htclk
	jmp	LBB0_16
LBB0_11:
	leaq	L_.str.1(%rip), %rdi
	movl	$128, %edx
	callq	_brcmf_err
LBB0_16:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SDIO,4,2                       ## @SDIO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enter\n"

L_.str.1:                               ## @.str.1
	.asciz	"request for %d -> %d\n"

	.no_dead_strip	_brcmf_sdio_clkctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcmf_sdio_clkctl
_brcmf_sdio_clkctl:                     ; @brcmf_sdio_clkctl
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _SDIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SDIO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_brcmf_dbg
	ldr	w1, [x19]
	cmp	w1, w21
	b.eq	LBB0_16
; %bb.1:
	cmp	w21, #128
	b.eq	LBB0_7
; %bb.2:
	cmp	w21, #129
	b.eq	LBB0_10
; %bb.3:
	cmp	w21, #130
	b.ne	LBB0_16
; %bb.4:
	cmp	w1, #129
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x19
	mov	w1, #1
	bl	_brcmf_sdio_sdclk
LBB0_6:
	mov	x0, x19
	mov	w1, #1
	mov	x2, x20
	bl	_brcmf_sdio_htclk
	b	LBB0_16
LBB0_7:
	cmp	w1, #130
	b.eq	LBB0_14
; %bb.8:
	cmp	w1, #129
	b.ne	LBB0_15
; %bb.9:
	mov	x0, x19
	mov	w1, #1
	b	LBB0_13
LBB0_10:
	cmp	w1, #130
	b.ne	LBB0_12
; %bb.11:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_brcmf_sdio_htclk
LBB0_12:
	mov	x0, x19
	mov	w1, #0
LBB0_13:
	bl	_brcmf_sdio_sdclk
	b	LBB0_16
LBB0_14:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_brcmf_sdio_htclk
	b	LBB0_16
LBB0_15:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w2, #128
	bl	_brcmf_err
LBB0_16:
	mov	w0, #0
	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
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_SDIO,4,2                       ; @SDIO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enter\n"

l_.str.1:                               ; @.str.1
	.asciz	"request for %d -> %d\n"

	.no_dead_strip	_brcmf_sdio_clkctl
.subsections_via_symbols
