	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2c_transmit                   ## -- Begin function i2c_transmit
	.p2align	4, 0x90
_i2c_transmit:                          ## @i2c_transmit
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	_i2c_address@GOTPCREL(%rip), %rbx
	movl	%edi, (%rbx)
	movq	_I2C_DRIVER@GOTPCREL(%rip), %r13
	movq	_i2cconfig@GOTPCREL(%rip), %rsi
	movq	%r13, %rdi
	callq	_i2cStart
	movq	%r13, %rdi
	callq	_i2cAcquireBus
	movl	(%rbx), %ebx
	sarl	%ebx
	movl	%r12d, %edi
	callq	_MS2ST
	movl	%eax, (%rsp)
	movq	%r13, %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_i2cMasterTransmitTimeout
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_i2cReleaseBus
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_chibios_to_qmk                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_i2c_address,4,2                ## @i2c_address
	.comm	_I2C_DRIVER,4,2                 ## @I2C_DRIVER
	.comm	_i2cconfig,4,2                  ## @i2cconfig
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2c_transmit                   ; -- Begin function i2c_transmit
	.p2align	2
_i2c_transmit:                          ; @i2c_transmit
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
Lloh0:
	adrp	x23, _i2c_address@GOTPAGE
Lloh1:
	ldr	x23, [x23, _i2c_address@GOTPAGEOFF]
	str	w0, [x23]
Lloh2:
	adrp	x22, _I2C_DRIVER@GOTPAGE
Lloh3:
	ldr	x22, [x22, _I2C_DRIVER@GOTPAGEOFF]
Lloh4:
	adrp	x1, _i2cconfig@GOTPAGE
Lloh5:
	ldr	x1, [x1, _i2cconfig@GOTPAGEOFF]
	mov	x0, x22
	bl	_i2cStart
	mov	x0, x22
	bl	_i2cAcquireBus
	ldr	w8, [x23]
	asr	w23, w8, #1
	mov	x0, x19
	bl	_MS2ST
	mov	x6, x0
	mov	x0, x22
	mov	x1, x23
	mov	x2, x21
	mov	x3, x20
	mov	w4, #0
	mov	w5, #0
	bl	_i2cMasterTransmitTimeout
	mov	x19, x0
	mov	x0, x22
	bl	_i2cReleaseBus
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_chibios_to_qmk
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_i2c_address,4,2                ; @i2c_address
	.comm	_I2C_DRIVER,4,2                 ; @I2C_DRIVER
	.comm	_i2cconfig,4,2                  ; @i2cconfig
.subsections_via_symbols
