	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2caux_action_from_payload
_i2caux_action_from_payload:            ## @i2caux_action_from_payload
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, 16(%rdi)
	movq	(%rdi), %rax
	je	LBB0_8
## %bb.1:
	movq	8(%rdi), %rcx
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	testq	%rcx, %rcx
	jne	LBB0_3
## %bb.4:
	movq	_I2CAUX_TRANSACTION_ACTION_I2C_WRITE@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_8:
	testq	%rax, %rax
	jne	LBB0_9
## %bb.10:
	movq	_I2CAUX_TRANSACTION_ACTION_DP_READ@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_5:
	testq	%rcx, %rcx
	jne	LBB0_6
## %bb.7:
	movq	_I2CAUX_TRANSACTION_ACTION_I2C_READ@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_3:
	movq	_I2CAUX_TRANSACTION_ACTION_I2C_WRITE_MOT@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	movq	_I2CAUX_TRANSACTION_ACTION_DP_WRITE@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_6:
	movq	_I2CAUX_TRANSACTION_ACTION_I2C_READ_MOT@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I2CAUX_TRANSACTION_ACTION_I2C_WRITE_MOT,4,2 ## @I2CAUX_TRANSACTION_ACTION_I2C_WRITE_MOT
	.comm	_I2CAUX_TRANSACTION_ACTION_I2C_WRITE,4,2 ## @I2CAUX_TRANSACTION_ACTION_I2C_WRITE
	.comm	_I2CAUX_TRANSACTION_ACTION_I2C_READ_MOT,4,2 ## @I2CAUX_TRANSACTION_ACTION_I2C_READ_MOT
	.comm	_I2CAUX_TRANSACTION_ACTION_I2C_READ,4,2 ## @I2CAUX_TRANSACTION_ACTION_I2C_READ
	.comm	_I2CAUX_TRANSACTION_ACTION_DP_WRITE,4,2 ## @I2CAUX_TRANSACTION_ACTION_DP_WRITE
	.comm	_I2CAUX_TRANSACTION_ACTION_DP_READ,4,2 ## @I2CAUX_TRANSACTION_ACTION_DP_READ
	.no_dead_strip	_i2caux_action_from_payload
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2caux_action_from_payload
_i2caux_action_from_payload:            ; @i2caux_action_from_payload
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0, #16]
	ldr	x8, [x0]
	cbz	x9, LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, _I2CAUX_TRANSACTION_ACTION_I2C_READ_MOT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I2CAUX_TRANSACTION_ACTION_I2C_READ_MOT@GOTPAGEOFF]
	ldr	x10, [x0, #8]
Lloh2:
	adrp	x11, _I2CAUX_TRANSACTION_ACTION_I2C_READ@GOTPAGE
Lloh3:
	ldr	x11, [x11, _I2CAUX_TRANSACTION_ACTION_I2C_READ@GOTPAGEOFF]
Lloh4:
	adrp	x12, _I2CAUX_TRANSACTION_ACTION_I2C_WRITE_MOT@GOTPAGE
Lloh5:
	ldr	x12, [x12, _I2CAUX_TRANSACTION_ACTION_I2C_WRITE_MOT@GOTPAGEOFF]
	cmp	x10, #0
	csel	x9, x11, x9, eq
Lloh6:
	adrp	x10, _I2CAUX_TRANSACTION_ACTION_I2C_WRITE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _I2CAUX_TRANSACTION_ACTION_I2C_WRITE@GOTPAGEOFF]
	csel	x10, x10, x12, eq
	cmp	x8, #0
	csel	x8, x9, x10, eq
	ldr	w0, [x8]
	ret
LBB0_2:
Lloh8:
	adrp	x9, _I2CAUX_TRANSACTION_ACTION_DP_WRITE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _I2CAUX_TRANSACTION_ACTION_DP_WRITE@GOTPAGEOFF]
Lloh10:
	adrp	x10, _I2CAUX_TRANSACTION_ACTION_DP_READ@GOTPAGE
Lloh11:
	ldr	x10, [x10, _I2CAUX_TRANSACTION_ACTION_DP_READ@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_I2CAUX_TRANSACTION_ACTION_I2C_WRITE_MOT,4,2 ; @I2CAUX_TRANSACTION_ACTION_I2C_WRITE_MOT
	.comm	_I2CAUX_TRANSACTION_ACTION_I2C_WRITE,4,2 ; @I2CAUX_TRANSACTION_ACTION_I2C_WRITE
	.comm	_I2CAUX_TRANSACTION_ACTION_I2C_READ_MOT,4,2 ; @I2CAUX_TRANSACTION_ACTION_I2C_READ_MOT
	.comm	_I2CAUX_TRANSACTION_ACTION_I2C_READ,4,2 ; @I2CAUX_TRANSACTION_ACTION_I2C_READ
	.comm	_I2CAUX_TRANSACTION_ACTION_DP_WRITE,4,2 ; @I2CAUX_TRANSACTION_ACTION_DP_WRITE
	.comm	_I2CAUX_TRANSACTION_ACTION_DP_READ,4,2 ; @I2CAUX_TRANSACTION_ACTION_DP_READ
	.no_dead_strip	_i2caux_action_from_payload
.subsections_via_symbols
