	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function load_i2c_mcr_reg
_load_i2c_mcr_reg:                      ## @load_i2c_mcr_reg
	.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
	movl	%esi, %ebx
	movq	%rdi, %r15
	movl	(%rdi), %edi
	movq	_I2C_MCR_A7@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edx
	callq	_GEN_MASK
	movl	%eax, %r14d
	movq	_I2C_M_TEN@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_unlikely
	movq	_I2C_MCR_AM@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	$2, %edi
	movl	$12, %edx
	callq	_GEN_MASK
	movl	%eax, %r12d
	orl	%r14d, %r12d
	movl	(%r15), %edi
	shrl	$7, %edi
	andl	$7, %edi
	movq	_I2C_MCR_EA10@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edx
	callq	_GEN_MASK
	movl	%eax, %ebx
	orl	%r12d, %ebx
	jmp	LBB0_3
LBB0_2:
	movl	$1, %edi
	movl	$12, %edx
	callq	_GEN_MASK
	movl	%eax, %ebx
	orl	%r14d, %ebx
LBB0_3:
	movq	_I2C_MCR_SB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	movl	$11, %edx
	callq	_GEN_MASK
	movl	%eax, %r14d
	orl	%ebx, %r14d
	movl	4(%r15), %edi
	movq	_I2C_WRITE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edi
	je	LBB0_5
## %bb.4:
	movq	_I2C_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_5:
	movq	_I2C_MCR_OP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_GEN_MASK
	movl	%eax, %r12d
	orl	%r14d, %r12d
	movq	16(%r15), %r14
	movq	_I2C_MCR_STOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edi
	movl	$14, %edx
	callq	_GEN_MASK
	movl	%eax, %ebx
	orl	%r12d, %eax
	notl	%ebx
	andl	%r12d, %ebx
	testq	%r14, %r14
	cmovnel	%eax, %ebx
	movl	8(%r15), %edi
	movq	_I2C_MCR_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$15, %edx
	callq	_GEN_MASK
	orl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_MCR_A7,4,2                 ## @I2C_MCR_A7
	.comm	_I2C_M_TEN,4,2                  ## @I2C_M_TEN
	.comm	_I2C_MCR_AM,4,2                 ## @I2C_MCR_AM
	.comm	_I2C_MCR_EA10,4,2               ## @I2C_MCR_EA10
	.comm	_I2C_MCR_SB,4,2                 ## @I2C_MCR_SB
	.comm	_I2C_WRITE,4,2                  ## @I2C_WRITE
	.comm	_I2C_MCR_OP,4,2                 ## @I2C_MCR_OP
	.comm	_I2C_READ,4,2                   ## @I2C_READ
	.comm	_I2C_MCR_STOP,4,2               ## @I2C_MCR_STOP
	.comm	_I2C_MCR_LENGTH,4,2             ## @I2C_MCR_LENGTH
	.no_dead_strip	_load_i2c_mcr_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function load_i2c_mcr_reg
_load_i2c_mcr_reg:                      ; @load_i2c_mcr_reg
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _I2C_MCR_A7@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I2C_MCR_A7@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #1
	bl	_GEN_MASK
	mov	x20, x0
Lloh3:
	adrp	x8, _I2C_M_TEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I2C_M_TEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w0, w8, w21
	bl	_unlikely
Lloh6:
	adrp	x8, _I2C_MCR_AM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I2C_MCR_AM@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #2
	mov	w2, #12
	bl	_GEN_MASK
	orr	w20, w0, w20
	ldr	w8, [x19]
	ubfx	w0, w8, #7, #3
Lloh9:
	adrp	x8, _I2C_MCR_EA10@GOTPAGE
Lloh10:
	ldr	x8, [x8, _I2C_MCR_EA10@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	w2, #8
	bl	_GEN_MASK
	orr	w20, w20, w0
	b	LBB0_3
LBB0_2:
	mov	w0, #1
	mov	w2, #12
	bl	_GEN_MASK
	orr	w20, w0, w20
LBB0_3:
Lloh12:
	adrp	x8, _I2C_MCR_SB@GOTPAGE
Lloh13:
	ldr	x8, [x8, _I2C_MCR_SB@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	w0, #0
	mov	w2, #11
	bl	_GEN_MASK
	orr	w20, w0, w20
	ldr	w8, [x19, #4]
Lloh15:
	adrp	x9, _I2C_WRITE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _I2C_WRITE@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, _I2C_READ@GOTPAGE
Lloh19:
	ldr	x10, [x10, _I2C_READ@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	cmp	w8, w9
	csel	w0, w8, w10, eq
Lloh21:
	adrp	x8, _I2C_MCR_OP@GOTPAGE
Lloh22:
	ldr	x8, [x8, _I2C_MCR_OP@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_GEN_MASK
	orr	w20, w20, w0
	ldr	x21, [x19, #16]
Lloh24:
	adrp	x8, _I2C_MCR_STOP@GOTPAGE
Lloh25:
	ldr	x8, [x8, _I2C_MCR_STOP@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	w0, #1
	mov	w2, #14
	bl	_GEN_MASK
	orr	w8, w0, w20
	bic	w9, w20, w0
	cmp	x21, #0
	csel	w20, w9, w8, eq
	ldr	w0, [x19, #8]
Lloh27:
	adrp	x8, _I2C_MCR_LENGTH@GOTPAGE
Lloh28:
	ldr	x8, [x8, _I2C_MCR_LENGTH@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	w2, #15
	bl	_GEN_MASK
	orr	w0, w0, w20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_MCR_A7,4,2                 ; @I2C_MCR_A7
	.comm	_I2C_M_TEN,4,2                  ; @I2C_M_TEN
	.comm	_I2C_MCR_AM,4,2                 ; @I2C_MCR_AM
	.comm	_I2C_MCR_EA10,4,2               ; @I2C_MCR_EA10
	.comm	_I2C_MCR_SB,4,2                 ; @I2C_MCR_SB
	.comm	_I2C_WRITE,4,2                  ; @I2C_WRITE
	.comm	_I2C_MCR_OP,4,2                 ; @I2C_MCR_OP
	.comm	_I2C_READ,4,2                   ; @I2C_READ
	.comm	_I2C_MCR_STOP,4,2               ; @I2C_MCR_STOP
	.comm	_I2C_MCR_LENGTH,4,2             ; @I2C_MCR_LENGTH
	.no_dead_strip	_load_i2c_mcr_reg
.subsections_via_symbols
