	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function octeon_mmc_set_shared_power
_octeon_mmc_set_shared_power:           ## @octeon_mmc_set_shared_power
	.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	%esi, %ebx
	movq	%rdi, %r14
	cmpl	$1, %esi
	je	LBB0_4
## %bb.1:
	testl	%ebx, %ebx
	jne	LBB0_5
## %bb.2:
	leaq	4(%r14), %rdi
	callq	_atomic_dec_return
	testl	%eax, %eax
	je	LBB0_3
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	leaq	4(%r14), %rdi
	callq	_atomic_inc_return
	cmpl	$1, %eax
	jne	LBB0_5
LBB0_3:
	movl	(%r14), %edi
	movl	%ebx, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_gpiod_set_value_cansleep       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_octeon_mmc_set_shared_power
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function octeon_mmc_set_shared_power
_octeon_mmc_set_shared_power:           ; @octeon_mmc_set_shared_power
	.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, x1
	mov	x20, x0
	cmp	w1, #1
	b.eq	LBB0_4
; %bb.1:
	cbnz	w19, LBB0_3
; %bb.2:
	add	x0, x20, #4
	bl	_atomic_dec_return
	cbz	w0, LBB0_5
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	add	x0, x20, #4
	bl	_atomic_inc_return
	cmp	w0, #1
	b.ne	LBB0_3
LBB0_5:
	ldr	w0, [x20]
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_gpiod_set_value_cansleep
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_octeon_mmc_set_shared_power
.subsections_via_symbols
