	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cyapa_check_adapter_functionality
_cyapa_check_adapter_functionality:     ## @cyapa_check_adapter_functionality
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_CYAPA_ADAPTER_FUNC_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	(%rdi), %edi
	movq	_I2C_FUNC_I2C@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_i2c_check_functionality
	xorl	%r15d, %r15d
	movl	$0, %ebx
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_CYAPA_ADAPTER_FUNC_I2C@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_2:
	orl	%r12d, %ebx
	movq	_I2C_FUNC_SMBUS_BYTE_DATA@GOTPCREL(%rip), %rax
	movq	_I2C_FUNC_SMBUS_BLOCK_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movl	(%r14), %edi
	movq	_I2C_FUNC_SMBUS_I2C_BLOCK@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	callq	_i2c_check_functionality
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_CYAPA_ADAPTER_FUNC_SMBUS@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_4:
	orl	%r15d, %ebx
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CYAPA_ADAPTER_FUNC_NONE,4,2    ## @CYAPA_ADAPTER_FUNC_NONE
	.comm	_I2C_FUNC_I2C,4,2               ## @I2C_FUNC_I2C
	.comm	_CYAPA_ADAPTER_FUNC_I2C,4,2     ## @CYAPA_ADAPTER_FUNC_I2C
	.comm	_I2C_FUNC_SMBUS_BYTE_DATA,4,2   ## @I2C_FUNC_SMBUS_BYTE_DATA
	.comm	_I2C_FUNC_SMBUS_BLOCK_DATA,4,2  ## @I2C_FUNC_SMBUS_BLOCK_DATA
	.comm	_I2C_FUNC_SMBUS_I2C_BLOCK,4,2   ## @I2C_FUNC_SMBUS_I2C_BLOCK
	.comm	_CYAPA_ADAPTER_FUNC_SMBUS,4,2   ## @CYAPA_ADAPTER_FUNC_SMBUS
	.no_dead_strip	_cyapa_check_adapter_functionality
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cyapa_check_adapter_functionality
_cyapa_check_adapter_functionality:     ; @cyapa_check_adapter_functionality
	.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, x0
Lloh0:
	adrp	x8, _CYAPA_ADAPTER_FUNC_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CYAPA_ADAPTER_FUNC_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	ldr	w0, [x0]
Lloh3:
	adrp	x8, _I2C_FUNC_I2C@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I2C_FUNC_I2C@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_i2c_check_functionality
Lloh6:
	adrp	x8, _CYAPA_ADAPTER_FUNC_I2C@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CYAPA_ADAPTER_FUNC_I2C@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w20, w8, w20
	ldr	w0, [x19]
Lloh9:
	adrp	x8, _I2C_FUNC_SMBUS_BYTE_DATA@GOTPAGE
Lloh10:
	ldr	x8, [x8, _I2C_FUNC_SMBUS_BYTE_DATA@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _I2C_FUNC_SMBUS_BLOCK_DATA@GOTPAGE
Lloh13:
	ldr	x9, [x9, _I2C_FUNC_SMBUS_BLOCK_DATA@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh15:
	adrp	x9, _I2C_FUNC_SMBUS_I2C_BLOCK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _I2C_FUNC_SMBUS_I2C_BLOCK@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w1, w8, w9
	bl	_i2c_check_functionality
Lloh18:
	adrp	x8, _CYAPA_ADAPTER_FUNC_SMBUS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CYAPA_ADAPTER_FUNC_SMBUS@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w0, w20, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CYAPA_ADAPTER_FUNC_NONE,4,2    ; @CYAPA_ADAPTER_FUNC_NONE
	.comm	_I2C_FUNC_I2C,4,2               ; @I2C_FUNC_I2C
	.comm	_CYAPA_ADAPTER_FUNC_I2C,4,2     ; @CYAPA_ADAPTER_FUNC_I2C
	.comm	_I2C_FUNC_SMBUS_BYTE_DATA,4,2   ; @I2C_FUNC_SMBUS_BYTE_DATA
	.comm	_I2C_FUNC_SMBUS_BLOCK_DATA,4,2  ; @I2C_FUNC_SMBUS_BLOCK_DATA
	.comm	_I2C_FUNC_SMBUS_I2C_BLOCK,4,2   ; @I2C_FUNC_SMBUS_I2C_BLOCK
	.comm	_CYAPA_ADAPTER_FUNC_SMBUS,4,2   ; @CYAPA_ADAPTER_FUNC_SMBUS
	.no_dead_strip	_cyapa_check_adapter_functionality
.subsections_via_symbols
