	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dc_i2c_start_msg
_dc_i2c_start_msg:                      ## @dc_i2c_start_msg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	movl	(%rax), %eax
	movq	_I2C_M_NOSTART@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.5:
	movq	_I2C_M_RD@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.6:
	movq	_STATE_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	popq	%rbp
	jmp	_dc_i2c_next_read               ## TAILCALL
LBB0_1:
	movq	_STATE_START@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	testl	%esi, %esi
	jne	LBB0_2
## %bb.3:
	movq	_II_CMD_RESTART@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_7:
	movq	_STATE_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	popq	%rbp
	jmp	_dc_i2c_write_buf               ## TAILCALL
LBB0_2:
	movq	_II_CMD_START@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %esi
	popq	%rbp
	jmp	_dc_i2c_cmd                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_M_NOSTART,4,2              ## @I2C_M_NOSTART
	.comm	_STATE_START,4,2                ## @STATE_START
	.comm	_II_CMD_START,4,2               ## @II_CMD_START
	.comm	_II_CMD_RESTART,4,2             ## @II_CMD_RESTART
	.comm	_I2C_M_RD,4,2                   ## @I2C_M_RD
	.comm	_STATE_READ,4,2                 ## @STATE_READ
	.comm	_STATE_WRITE,4,2                ## @STATE_WRITE
	.no_dead_strip	_dc_i2c_start_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dc_i2c_start_msg
_dc_i2c_start_msg:                      ; @dc_i2c_start_msg
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _I2C_M_NOSTART@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I2C_M_NOSTART@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x9, _I2C_M_RD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _I2C_M_RD@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _STATE_READ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _STATE_READ@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x0]
	b	_dc_i2c_next_read
LBB0_3:
Lloh9:
	adrp	x8, _STATE_START@GOTPAGE
Lloh10:
	ldr	x8, [x8, _STATE_START@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _II_CMD_START@GOTPAGE
Lloh13:
	ldr	x9, [x9, _II_CMD_START@GOTPAGEOFF]
Lloh14:
	adrp	x10, _II_CMD_RESTART@GOTPAGE
Lloh15:
	ldr	x10, [x10, _II_CMD_RESTART@GOTPAGEOFF]
	str	w8, [x0]
	cmp	w1, #0
	csel	x8, x10, x9, eq
	ldr	w1, [x8]
	b	_dc_i2c_cmd
LBB0_4:
Lloh16:
	adrp	x8, _STATE_WRITE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _STATE_WRITE@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x0]
	b	_dc_i2c_write_buf
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_M_NOSTART,4,2              ; @I2C_M_NOSTART
	.comm	_STATE_START,4,2                ; @STATE_START
	.comm	_II_CMD_START,4,2               ; @II_CMD_START
	.comm	_II_CMD_RESTART,4,2             ; @II_CMD_RESTART
	.comm	_I2C_M_RD,4,2                   ; @I2C_M_RD
	.comm	_STATE_READ,4,2                 ; @STATE_READ
	.comm	_STATE_WRITE,4,2                ; @STATE_WRITE
	.no_dead_strip	_dc_i2c_start_msg
.subsections_via_symbols
