	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pca963x_power_state
_pca963x_power_state:                   ## @pca963x_power_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movq	(%rbx), %r15
	cmpq	$0, 16(%rdi)
	movl	8(%rdi), %edi
	movq	%rbx, %rsi
	je	LBB0_2
## %bb.1:
	callq	_set_bit
	jmp	LBB0_3
LBB0_2:
	callq	_clear_bit
LBB0_3:
	movq	(%rbx), %rax
	testq	%rax, %rax
	sete	%cl
	testq	%r15, %r15
	setne	%dl
	xorb	%cl, %dl
	je	LBB0_4
## %bb.7:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	xorl	%edx, %edx
	movq	(%r14), %rcx
	movl	8(%rcx), %r14d
	movq	_PCA963X_MODE1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movl	$4, %edi
	callq	_BIT
	movl	%eax, %edx
LBB0_6:
	movl	%r14d, %edi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_i2c_smbus_write_byte_data      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PCA963X_MODE1,4,2              ## @PCA963X_MODE1
	.no_dead_strip	_pca963x_power_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pca963x_power_state
_pca963x_power_state:                   ; @pca963x_power_state
	.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
	ldr	x20, [x0]
	ldr	x21, [x20]
	ldr	x8, [x0, #16]
	ldr	w0, [x0, #8]
	mov	x1, x20
	cbz	x8, LBB0_2
; %bb.1:
	bl	_set_bit
	b	LBB0_3
LBB0_2:
	bl	_clear_bit
LBB0_3:
	ldr	x8, [x20]
	cmp	x8, #0
	cset	w9, eq
	cmp	x21, #0
	cset	w10, ne
	eor	w9, w10, w9
	tbz	w9, #0, LBB0_5
; %bb.4:
	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
LBB0_5:
	ldr	x9, [x19]
	ldr	w19, [x9, #8]
Lloh0:
	adrp	x9, _PCA963X_MODE1@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PCA963X_MODE1@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x9]
	cbz	x8, LBB0_7
; %bb.6:
	mov	w2, #0
	b	LBB0_8
LBB0_7:
	mov	w0, #4
	bl	_BIT
	mov	x2, x0
LBB0_8:
	mov	x0, x19
	mov	x1, x20
	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	_i2c_smbus_write_byte_data
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PCA963X_MODE1,4,2              ; @PCA963X_MODE1
	.no_dead_strip	_pca963x_power_state
.subsections_via_symbols
