	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_sdiod_change_state       ## -- Begin function brcmf_sdiod_change_state
	.p2align	4, 0x90
_brcmf_sdiod_change_state:              ## @brcmf_sdiod_change_state
	.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
	movl	(%rdi), %eax
	cmpl	%esi, %eax
	je	LBB0_9
## %bb.1:
	movq	_BRCMF_SDIOD_NOMEDIUM@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_9
## %bb.2:
	movl	%esi, %r14d
	movq	%rdi, %rbx
	cmpl	$129, %eax
	je	LBB0_3
## %bb.4:
	cmpl	$128, %eax
	jne	LBB0_8
## %bb.5:
	cmpl	$129, %r14d
	jne	LBB0_8
## %bb.6:
	movq	_BRCMF_BUS_UP@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	movq	_BRCMF_BUS_DOWN@GOTPCREL(%rip), %rax
LBB0_7:
	movl	4(%rbx), %edi
	movl	(%rax), %esi
	callq	_brcmf_bus_change_state
LBB0_8:
	movl	%r14d, (%rbx)
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BRCMF_SDIOD_NOMEDIUM,4,2       ## @BRCMF_SDIOD_NOMEDIUM
	.comm	_BRCMF_BUS_DOWN,4,2             ## @BRCMF_BUS_DOWN
	.comm	_BRCMF_BUS_UP,4,2               ## @BRCMF_BUS_UP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmf_sdiod_change_state       ; -- Begin function brcmf_sdiod_change_state
	.p2align	2
_brcmf_sdiod_change_state:              ; @brcmf_sdiod_change_state
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _BRCMF_SDIOD_NOMEDIUM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BRCMF_SDIOD_NOMEDIUM@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w1
	ccmp	w8, w9, #4, ne
	b.eq	LBB0_8
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #128
	b.ne	LBB0_7
; %bb.3:
	cmp	w19, #129
	b.ne	LBB0_7
; %bb.4:
Lloh3:
	adrp	x8, _BRCMF_BUS_UP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BRCMF_BUS_UP@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh5:
	adrp	x8, _BRCMF_BUS_DOWN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BRCMF_BUS_DOWN@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x20, #4]
	ldr	w1, [x8]
	bl	_brcmf_bus_change_state
LBB0_7:
	str	w19, [x20]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_BRCMF_SDIOD_NOMEDIUM,4,2       ; @BRCMF_SDIOD_NOMEDIUM
	.comm	_BRCMF_BUS_DOWN,4,2             ; @BRCMF_BUS_DOWN
	.comm	_BRCMF_BUS_UP,4,2               ; @BRCMF_BUS_UP
.subsections_via_symbols
