	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pca953x_readable_register
_pca953x_readable_register:             ## @pca953x_readable_register
	.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, %r14d
	callq	_dev_get_drvdata
	movq	%rax, %rbx
	movl	(%rax), %edi
	callq	_PCA_CHIP_TYPE
	movq	_PCA953X_TYPE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_PCA953x_BANK_OUTPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_PCA953x_BANK_CONFIG@GOTPCREL(%rip), %rax
	movq	_PCA953x_BANK_POLARITY@GOTPCREL(%rip), %rcx
	movq	_PCA953x_BANK_INPUT@GOTPCREL(%rip), %rsi
	jmp	LBB0_3
LBB0_2:
	movq	_PCA957x_BANK_INPUT@GOTPCREL(%rip), %rax
	movq	_PCA957x_BANK_OUTPUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_PCA957x_BANK_BUSHOLD@GOTPCREL(%rip), %rax
	movq	_PCA957x_BANK_CONFIG@GOTPCREL(%rip), %rcx
	movq	_PCA957x_BANK_POLARITY@GOTPCREL(%rip), %rsi
LBB0_3:
	orl	(%rsi), %edx
	orl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_PCA_PCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_5
## %bb.4:
	movq	_PCAL9xxx_BANK_IN_LATCH@GOTPCREL(%rip), %rax
	movq	_PCAL9xxx_BANK_PULL_EN@GOTPCREL(%rip), %rcx
	movq	_PCAL9xxx_BANK_PULL_SEL@GOTPCREL(%rip), %rsi
	movq	_PCAL9xxx_BANK_IRQ_MASK@GOTPCREL(%rip), %rdi
	movq	_PCAL9xxx_BANK_IRQ_STAT@GOTPCREL(%rip), %r8
	orl	(%rax), %edx
	orl	(%rcx), %edx
	orl	(%rsi), %edx
	orl	(%rdi), %edx
	orl	(%r8), %edx
LBB0_5:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pca953x_check_register         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PCA953X_TYPE,8,3               ## @PCA953X_TYPE
	.comm	_PCA953x_BANK_INPUT,4,2         ## @PCA953x_BANK_INPUT
	.comm	_PCA953x_BANK_OUTPUT,4,2        ## @PCA953x_BANK_OUTPUT
	.comm	_PCA953x_BANK_POLARITY,4,2      ## @PCA953x_BANK_POLARITY
	.comm	_PCA953x_BANK_CONFIG,4,2        ## @PCA953x_BANK_CONFIG
	.comm	_PCA957x_BANK_INPUT,4,2         ## @PCA957x_BANK_INPUT
	.comm	_PCA957x_BANK_OUTPUT,4,2        ## @PCA957x_BANK_OUTPUT
	.comm	_PCA957x_BANK_POLARITY,4,2      ## @PCA957x_BANK_POLARITY
	.comm	_PCA957x_BANK_CONFIG,4,2        ## @PCA957x_BANK_CONFIG
	.comm	_PCA957x_BANK_BUSHOLD,4,2       ## @PCA957x_BANK_BUSHOLD
	.comm	_PCA_PCAL,4,2                   ## @PCA_PCAL
	.comm	_PCAL9xxx_BANK_IN_LATCH,4,2     ## @PCAL9xxx_BANK_IN_LATCH
	.comm	_PCAL9xxx_BANK_PULL_EN,4,2      ## @PCAL9xxx_BANK_PULL_EN
	.comm	_PCAL9xxx_BANK_PULL_SEL,4,2     ## @PCAL9xxx_BANK_PULL_SEL
	.comm	_PCAL9xxx_BANK_IRQ_MASK,4,2     ## @PCAL9xxx_BANK_IRQ_MASK
	.comm	_PCAL9xxx_BANK_IRQ_STAT,4,2     ## @PCAL9xxx_BANK_IRQ_STAT
	.no_dead_strip	_pca953x_readable_register
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pca953x_readable_register
_pca953x_readable_register:             ; @pca953x_readable_register
	.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
	bl	_dev_get_drvdata
	mov	x20, x0
	ldr	w0, [x0]
	bl	_PCA_CHIP_TYPE
Lloh0:
	adrp	x8, _PCA953X_TYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PCA953X_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _PCA953x_BANK_OUTPUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PCA953x_BANK_OUTPUT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x8]
Lloh6:
	adrp	x8, _PCA953x_BANK_CONFIG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PCA953x_BANK_CONFIG@GOTPAGEOFF]
Lloh8:
	adrp	x10, _PCA953x_BANK_POLARITY@GOTPAGE
Lloh9:
	ldr	x10, [x10, _PCA953x_BANK_POLARITY@GOTPAGEOFF]
Lloh10:
	adrp	x11, _PCA953x_BANK_INPUT@GOTPAGE
Lloh11:
	ldr	x11, [x11, _PCA953x_BANK_INPUT@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh12:
	adrp	x8, _PCA957x_BANK_INPUT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PCA957x_BANK_INPUT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _PCA957x_BANK_OUTPUT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _PCA957x_BANK_OUTPUT@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w9, w9, w8
Lloh18:
	adrp	x8, _PCA957x_BANK_BUSHOLD@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PCA957x_BANK_BUSHOLD@GOTPAGEOFF]
Lloh20:
	adrp	x10, _PCA957x_BANK_CONFIG@GOTPAGE
Lloh21:
	ldr	x10, [x10, _PCA957x_BANK_CONFIG@GOTPAGEOFF]
Lloh22:
	adrp	x11, _PCA957x_BANK_POLARITY@GOTPAGE
Lloh23:
	ldr	x11, [x11, _PCA957x_BANK_POLARITY@GOTPAGEOFF]
LBB0_3:
	ldr	w11, [x11]
	orr	w9, w9, w11
	ldr	w10, [x10]
	orr	w9, w9, w10
	ldr	w8, [x8]
	orr	w2, w9, w8
	ldr	w8, [x20]
Lloh24:
	adrp	x9, _PCA_PCAL@GOTPAGE
Lloh25:
	ldr	x9, [x9, _PCA_PCAL@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
Lloh27:
	adrp	x8, _PCAL9xxx_BANK_IN_LATCH@GOTPAGE
Lloh28:
	ldr	x8, [x8, _PCAL9xxx_BANK_IN_LATCH@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _PCAL9xxx_BANK_PULL_EN@GOTPAGE
Lloh31:
	ldr	x9, [x9, _PCAL9xxx_BANK_PULL_EN@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
Lloh33:
	adrp	x10, _PCAL9xxx_BANK_PULL_SEL@GOTPAGE
Lloh34:
	ldr	x10, [x10, _PCAL9xxx_BANK_PULL_SEL@GOTPAGEOFF]
Lloh35:
	ldr	w10, [x10]
Lloh36:
	adrp	x11, _PCAL9xxx_BANK_IRQ_MASK@GOTPAGE
Lloh37:
	ldr	x11, [x11, _PCAL9xxx_BANK_IRQ_MASK@GOTPAGEOFF]
Lloh38:
	ldr	w11, [x11]
Lloh39:
	adrp	x12, _PCAL9xxx_BANK_IRQ_STAT@GOTPAGE
Lloh40:
	ldr	x12, [x12, _PCAL9xxx_BANK_IRQ_STAT@GOTPAGEOFF]
Lloh41:
	ldr	w12, [x12]
	orr	w8, w8, w2
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w8, w8, w11
	orr	w2, w8, w12
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pca953x_check_register
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_PCA953X_TYPE,8,3               ; @PCA953X_TYPE
	.comm	_PCA953x_BANK_INPUT,4,2         ; @PCA953x_BANK_INPUT
	.comm	_PCA953x_BANK_OUTPUT,4,2        ; @PCA953x_BANK_OUTPUT
	.comm	_PCA953x_BANK_POLARITY,4,2      ; @PCA953x_BANK_POLARITY
	.comm	_PCA953x_BANK_CONFIG,4,2        ; @PCA953x_BANK_CONFIG
	.comm	_PCA957x_BANK_INPUT,4,2         ; @PCA957x_BANK_INPUT
	.comm	_PCA957x_BANK_OUTPUT,4,2        ; @PCA957x_BANK_OUTPUT
	.comm	_PCA957x_BANK_POLARITY,4,2      ; @PCA957x_BANK_POLARITY
	.comm	_PCA957x_BANK_CONFIG,4,2        ; @PCA957x_BANK_CONFIG
	.comm	_PCA957x_BANK_BUSHOLD,4,2       ; @PCA957x_BANK_BUSHOLD
	.comm	_PCA_PCAL,4,2                   ; @PCA_PCAL
	.comm	_PCAL9xxx_BANK_IN_LATCH,4,2     ; @PCAL9xxx_BANK_IN_LATCH
	.comm	_PCAL9xxx_BANK_PULL_EN,4,2      ; @PCAL9xxx_BANK_PULL_EN
	.comm	_PCAL9xxx_BANK_PULL_SEL,4,2     ; @PCAL9xxx_BANK_PULL_SEL
	.comm	_PCAL9xxx_BANK_IRQ_MASK,4,2     ; @PCAL9xxx_BANK_IRQ_MASK
	.comm	_PCAL9xxx_BANK_IRQ_STAT,4,2     ; @PCAL9xxx_BANK_IRQ_STAT
	.no_dead_strip	_pca953x_readable_register
.subsections_via_symbols
