	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iop3xx_i2c_enable
_iop3xx_i2c_enable:                     ## @iop3xx_i2c_enable
	.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	_IOP3XX_ICR_GCD@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_IOP3XX_ICR_SCLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_IOP3XX_ICR_UE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	24(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	xorl	%esi, %esi
	callq	_gpiod_set_raw_value
LBB0_2:
	movq	16(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	xorl	%esi, %esi
	callq	_gpiod_set_raw_value
LBB0_4:
	movq	_IOP3XX_ISR_ALD@GOTPCREL(%rip), %rax
	movq	_IOP3XX_ISR_BERRD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_IOP3XX_ISR_RXFULL@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_IOP3XX_ISR_TXEMPTY@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%r14)
	movq	_IOP3XX_ICR_ALD_IE@GOTPCREL(%rip), %rax
	movq	_IOP3XX_ICR_BERR_IE@GOTPCREL(%rip), %rcx
	movq	_IOP3XX_ICR_RXFULL_IE@GOTPCREL(%rip), %rdx
	movq	_IOP3XX_ICR_TXEMPTY_IE@GOTPCREL(%rip), %rsi
	orl	%r15d, %ebx
	orl	%r12d, %ebx
	orl	(%rax), %ebx
	orl	(%rcx), %ebx
	orl	(%rdx), %ebx
	orl	(%rsi), %ebx
	movq	_CR_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	movl	%ebx, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	___raw_writel                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IOP3XX_ICR_GCD,4,2             ## @IOP3XX_ICR_GCD
	.comm	_IOP3XX_ICR_SCLEN,4,2           ## @IOP3XX_ICR_SCLEN
	.comm	_IOP3XX_ICR_UE,4,2              ## @IOP3XX_ICR_UE
	.comm	_IOP3XX_ISR_ALD,4,2             ## @IOP3XX_ISR_ALD
	.comm	_IOP3XX_ISR_BERRD,4,2           ## @IOP3XX_ISR_BERRD
	.comm	_IOP3XX_ISR_RXFULL,4,2          ## @IOP3XX_ISR_RXFULL
	.comm	_IOP3XX_ISR_TXEMPTY,4,2         ## @IOP3XX_ISR_TXEMPTY
	.comm	_IOP3XX_ICR_ALD_IE,4,2          ## @IOP3XX_ICR_ALD_IE
	.comm	_IOP3XX_ICR_BERR_IE,4,2         ## @IOP3XX_ICR_BERR_IE
	.comm	_IOP3XX_ICR_RXFULL_IE,4,2       ## @IOP3XX_ICR_RXFULL_IE
	.comm	_IOP3XX_ICR_TXEMPTY_IE,4,2      ## @IOP3XX_ICR_TXEMPTY_IE
	.comm	_CR_OFFSET,8,3                  ## @CR_OFFSET
	.no_dead_strip	_iop3xx_i2c_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iop3xx_i2c_enable
_iop3xx_i2c_enable:                     ; @iop3xx_i2c_enable
	.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	x19, x0
Lloh0:
	adrp	x8, _IOP3XX_ICR_GCD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IOP3XX_ICR_GCD@GOTPAGEOFF]
Lloh2:
	adrp	x9, _IOP3XX_ICR_SCLEN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IOP3XX_ICR_SCLEN@GOTPAGEOFF]
Lloh4:
	ldr	w20, [x8]
Lloh5:
	ldr	w21, [x9]
Lloh6:
	adrp	x8, _IOP3XX_ICR_UE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IOP3XX_ICR_UE@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x8]
	ldr	x0, [x0, #24]
	cbz	x0, LBB0_2
; %bb.1:
	mov	w1, #0
	bl	_gpiod_set_raw_value
LBB0_2:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_4
; %bb.3:
	mov	w1, #0
	bl	_gpiod_set_raw_value
LBB0_4:
Lloh9:
	adrp	x8, _IOP3XX_ISR_ALD@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IOP3XX_ISR_ALD@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _IOP3XX_ISR_BERRD@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IOP3XX_ISR_BERRD@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh15:
	adrp	x9, _IOP3XX_ISR_RXFULL@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IOP3XX_ISR_RXFULL@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh18:
	adrp	x9, _IOP3XX_ISR_TXEMPTY@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IOP3XX_ISR_TXEMPTY@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh21:
	adrp	x9, _IOP3XX_ICR_ALD_IE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _IOP3XX_ICR_ALD_IE@GOTPAGEOFF]
	str	w8, [x19]
Lloh23:
	ldr	w8, [x9]
Lloh24:
	adrp	x9, _IOP3XX_ICR_BERR_IE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _IOP3XX_ICR_BERR_IE@GOTPAGEOFF]
Lloh26:
	adrp	x10, _IOP3XX_ICR_RXFULL_IE@GOTPAGE
Lloh27:
	ldr	x10, [x10, _IOP3XX_ICR_RXFULL_IE@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
Lloh29:
	ldr	w10, [x10]
Lloh30:
	adrp	x11, _IOP3XX_ICR_TXEMPTY_IE@GOTPAGE
Lloh31:
	ldr	x11, [x11, _IOP3XX_ICR_TXEMPTY_IE@GOTPAGEOFF]
Lloh32:
	ldr	w11, [x11]
	orr	w12, w21, w20
	orr	w12, w12, w22
	orr	w8, w12, w8
	orr	w8, w8, w9
	orr	w8, w8, w10
	orr	w0, w8, w11
	ldr	x8, [x19, #8]
Lloh33:
	adrp	x9, _CR_OFFSET@GOTPAGE
Lloh34:
	ldr	x9, [x9, _CR_OFFSET@GOTPAGEOFF]
Lloh35:
	ldr	x9, [x9]
	add	x1, x9, x8
	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
	b	___raw_writel
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh28
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_IOP3XX_ICR_GCD,4,2             ; @IOP3XX_ICR_GCD
	.comm	_IOP3XX_ICR_SCLEN,4,2           ; @IOP3XX_ICR_SCLEN
	.comm	_IOP3XX_ICR_UE,4,2              ; @IOP3XX_ICR_UE
	.comm	_IOP3XX_ISR_ALD,4,2             ; @IOP3XX_ISR_ALD
	.comm	_IOP3XX_ISR_BERRD,4,2           ; @IOP3XX_ISR_BERRD
	.comm	_IOP3XX_ISR_RXFULL,4,2          ; @IOP3XX_ISR_RXFULL
	.comm	_IOP3XX_ISR_TXEMPTY,4,2         ; @IOP3XX_ISR_TXEMPTY
	.comm	_IOP3XX_ICR_ALD_IE,4,2          ; @IOP3XX_ICR_ALD_IE
	.comm	_IOP3XX_ICR_BERR_IE,4,2         ; @IOP3XX_ICR_BERR_IE
	.comm	_IOP3XX_ICR_RXFULL_IE,4,2       ; @IOP3XX_ICR_RXFULL_IE
	.comm	_IOP3XX_ICR_TXEMPTY_IE,4,2      ; @IOP3XX_ICR_TXEMPTY_IE
	.comm	_CR_OFFSET,8,3                  ; @CR_OFFSET
	.no_dead_strip	_iop3xx_i2c_enable
.subsections_via_symbols
