	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pca953x_irq_setup
_pca953x_irq_setup:                     ## @pca953x_irq_setup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$-1, %esi
	je	LBB0_4
## %bb.1:
	movq	%rdi, %rax
	movq	8(%rdi), %rdi
	cmpq	$0, 8(%rdi)
	je	LBB0_4
## %bb.2:
	movq	_PCA_INT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rsi
	callq	_dev_warn
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCA_INT,4,2                    ## @PCA_INT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"interrupt support not compiled in\n"

	.no_dead_strip	_pca953x_irq_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pca953x_irq_setup
_pca953x_irq_setup:                     ; @pca953x_irq_setup
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cmn	w1, #1
	b.eq	LBB0_4
; %bb.1:
	mov	x8, x0
	ldr	x0, [x0, #8]
	ldr	x9, [x0, #8]
	cbz	x9, LBB0_4
; %bb.2:
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _PCA_INT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PCA_INT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
LBB0_4:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PCA_INT,4,2                    ; @PCA_INT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"interrupt support not compiled in\n"

	.no_dead_strip	_pca953x_irq_setup
.subsections_via_symbols
