	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2c_au1550_setup
_i2c_au1550_setup:                      ## @i2c_au1550_setup
	.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
	movq	%rdi, %r15
	movq	_PSC_CTRL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_PSC_CTRL_DISABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	callq	_WR
	movq	_PSC_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PSC_SEL_PS_SMBUSMODE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r15, %rdi
	callq	_WR
	movq	_PSC_SMBCFG@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_WR
	movl	(%rbx), %esi
	movq	_PSC_CTRL_ENABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r15, %rdi
	callq	_WR
	movq	_PSC_SMBSTAT@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_RD
	movq	_PSC_SMBSTAT_SR@GOTPCREL(%rip), %rbx
	testl	%eax, (%rbx)
	jne	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_cpu_relax
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_RD
	testl	%eax, (%rbx)
	je	LBB0_1
LBB0_3:
	movq	_PSC_SMBCFG_RT_FIFO8@GOTPCREL(%rip), %rax
	movq	_PSC_SMBCFG_TT_FIFO8@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r14
	orq	(%rax), %r14
	movq	_PSC_SMBCFG_DD_DISABLE@GOTPCREL(%rip), %rax
	orq	(%rax), %r14
	movl	(%r12), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_WR
	movq	_PSC_SMBCFG_DIV8@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_PSC_SMBCFG_SET_DIV
	orq	%rax, %r14
	movl	(%r12), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_WR
	movq	_PSC_SMBMSK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PSC_SMBMSK_ALLMASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r15, %rdi
	callq	_WR
	movq	_PSC_SMBTMR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%edi, %edi
	callq	_PSC_SMBTMR_SET_TH
	movq	%r13, %rbx
	movq	%rax, %r13
	movl	$20, %edi
	callq	_PSC_SMBTMR_SET_PS
	orq	%rax, %r13
	movl	$20, %edi
	callq	_PSC_SMBTMR_SET_PU
	movq	%rax, %r12
	movl	$20, %edi
	callq	_PSC_SMBTMR_SET_SH
	orq	%rax, %r12
	orq	%r13, %r12
	movl	$20, %edi
	callq	_PSC_SMBTMR_SET_SU
	movq	%rbx, %r13
	movq	%rax, %rbx
	movl	$20, %edi
	callq	_PSC_SMBTMR_SET_CL
	orq	%rax, %rbx
	movl	$20, %edi
	callq	_PSC_SMBTMR_SET_CH
	orq	%rax, %rbx
	orq	%r12, %rbx
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%rbx, %rdx
	callq	_WR
	movq	_PSC_SMBCFG_DE_ENABLE@GOTPCREL(%rip), %rax
	orq	(%rax), %r14
	movq	_PSC_SMBCFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movq	%r14, %rdx
	movq	_PSC_SMBSTAT_SR@GOTPCREL(%rip), %rbx
	callq	_WR
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %esi
	movq	%r15, %rdi
	callq	_RD
	testl	%eax, (%rbx)
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	xorl	%eax, %eax
	callq	_cpu_relax
	jmp	LBB0_5
LBB0_6:
	movq	_PSC_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PSC_CTRL_SUSPEND@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WR                             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PSC_CTRL,4,2                   ## @PSC_CTRL
	.comm	_PSC_CTRL_DISABLE,8,3           ## @PSC_CTRL_DISABLE
	.comm	_PSC_SEL,4,2                    ## @PSC_SEL
	.comm	_PSC_SEL_PS_SMBUSMODE,8,3       ## @PSC_SEL_PS_SMBUSMODE
	.comm	_PSC_SMBCFG,4,2                 ## @PSC_SMBCFG
	.comm	_PSC_CTRL_ENABLE,8,3            ## @PSC_CTRL_ENABLE
	.comm	_PSC_SMBSTAT,4,2                ## @PSC_SMBSTAT
	.comm	_PSC_SMBSTAT_SR,4,2             ## @PSC_SMBSTAT_SR
	.comm	_PSC_SMBCFG_RT_FIFO8,8,3        ## @PSC_SMBCFG_RT_FIFO8
	.comm	_PSC_SMBCFG_TT_FIFO8,8,3        ## @PSC_SMBCFG_TT_FIFO8
	.comm	_PSC_SMBCFG_DD_DISABLE,8,3      ## @PSC_SMBCFG_DD_DISABLE
	.comm	_PSC_SMBCFG_DIV8,4,2            ## @PSC_SMBCFG_DIV8
	.comm	_PSC_SMBMSK,4,2                 ## @PSC_SMBMSK
	.comm	_PSC_SMBMSK_ALLMASK,8,3         ## @PSC_SMBMSK_ALLMASK
	.comm	_PSC_SMBTMR,4,2                 ## @PSC_SMBTMR
	.comm	_PSC_SMBCFG_DE_ENABLE,8,3       ## @PSC_SMBCFG_DE_ENABLE
	.comm	_PSC_CTRL_SUSPEND,8,3           ## @PSC_CTRL_SUSPEND
	.no_dead_strip	_i2c_au1550_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2c_au1550_setup
_i2c_au1550_setup:                      ; @i2c_au1550_setup
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x23, _PSC_CTRL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _PSC_CTRL@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh2:
	adrp	x8, _PSC_CTRL_DISABLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PSC_CTRL_DISABLE@GOTPAGEOFF]
Lloh4:
	ldr	x2, [x8]
	bl	_WR
Lloh5:
	adrp	x8, _PSC_SEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PSC_SEL@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _PSC_SEL_PS_SMBUSMODE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PSC_SEL_PS_SMBUSMODE@GOTPAGEOFF]
Lloh10:
	ldr	x2, [x8]
	mov	x0, x19
	bl	_WR
Lloh11:
	adrp	x26, _PSC_SMBCFG@GOTPAGE
Lloh12:
	ldr	x26, [x26, _PSC_SMBCFG@GOTPAGEOFF]
	ldr	w1, [x26]
	mov	x0, x19
	mov	x2, #0
	bl	_WR
	ldr	w1, [x23]
Lloh13:
	adrp	x8, _PSC_CTRL_ENABLE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PSC_CTRL_ENABLE@GOTPAGEOFF]
Lloh15:
	ldr	x2, [x8]
	mov	x0, x19
	bl	_WR
Lloh16:
	adrp	x24, _PSC_SMBSTAT@GOTPAGE
Lloh17:
	ldr	x24, [x24, _PSC_SMBSTAT@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x19
	bl	_RD
Lloh18:
	adrp	x25, _PSC_SMBSTAT_SR@GOTPAGE
Lloh19:
	ldr	x25, [x25, _PSC_SMBSTAT_SR@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x25]
	tst	w8, w0
	b.ne	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	bl	_cpu_relax
	ldr	w1, [x24]
	mov	x0, x19
	bl	_RD
	b	LBB0_1
LBB0_3:
Lloh20:
	adrp	x8, _PSC_SMBCFG_RT_FIFO8@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PSC_SMBCFG_RT_FIFO8@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
Lloh23:
	adrp	x9, _PSC_SMBCFG_TT_FIFO8@GOTPAGE
Lloh24:
	ldr	x9, [x9, _PSC_SMBCFG_TT_FIFO8@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	orr	x8, x9, x8
Lloh26:
	adrp	x9, _PSC_SMBCFG_DD_DISABLE@GOTPAGE
Lloh27:
	ldr	x9, [x9, _PSC_SMBCFG_DD_DISABLE@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	orr	x20, x8, x9
	ldr	w1, [x26]
	mov	x0, x19
	mov	x2, x20
	bl	_WR
Lloh29:
	adrp	x8, _PSC_SMBCFG_DIV8@GOTPAGE
Lloh30:
	ldr	x8, [x8, _PSC_SMBCFG_DIV8@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	bl	_PSC_SMBCFG_SET_DIV
	orr	x20, x0, x20
	ldr	w1, [x26]
	mov	x0, x19
	mov	x2, x20
	bl	_WR
Lloh32:
	adrp	x8, _PSC_SMBMSK@GOTPAGE
Lloh33:
	ldr	x8, [x8, _PSC_SMBMSK@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
Lloh35:
	adrp	x8, _PSC_SMBMSK_ALLMASK@GOTPAGE
Lloh36:
	ldr	x8, [x8, _PSC_SMBMSK_ALLMASK@GOTPAGEOFF]
Lloh37:
	ldr	x2, [x8]
	mov	x0, x19
	bl	_WR
Lloh38:
	adrp	x8, _PSC_SMBTMR@GOTPAGE
Lloh39:
	ldr	x8, [x8, _PSC_SMBTMR@GOTPAGEOFF]
Lloh40:
	ldr	w21, [x8]
	mov	w0, #0
	bl	_PSC_SMBTMR_SET_TH
	mov	x22, x0
	mov	w0, #20
	bl	_PSC_SMBTMR_SET_PS
	orr	x22, x0, x22
	mov	w0, #20
	bl	_PSC_SMBTMR_SET_PU
	orr	x22, x22, x0
	mov	w0, #20
	bl	_PSC_SMBTMR_SET_SH
	orr	x22, x22, x0
	mov	w0, #20
	bl	_PSC_SMBTMR_SET_SU
	orr	x22, x22, x0
	mov	w0, #20
	bl	_PSC_SMBTMR_SET_CL
	orr	x22, x22, x0
	mov	w0, #20
	bl	_PSC_SMBTMR_SET_CH
	orr	x2, x22, x0
	mov	x0, x19
	mov	x1, x21
	bl	_WR
Lloh41:
	adrp	x8, _PSC_SMBCFG_DE_ENABLE@GOTPAGE
Lloh42:
	ldr	x8, [x8, _PSC_SMBCFG_DE_ENABLE@GOTPAGEOFF]
Lloh43:
	ldr	x8, [x8]
	orr	x2, x8, x20
	ldr	w1, [x26]
	mov	x0, x19
	bl	_WR
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x24]
	mov	x0, x19
	bl	_RD
	ldr	w8, [x25]
	tst	w8, w0
	b.ne	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_cpu_relax
	b	LBB0_4
LBB0_6:
	ldr	w1, [x23]
Lloh44:
	adrp	x8, _PSC_CTRL_SUSPEND@GOTPAGE
Lloh45:
	ldr	x8, [x8, _PSC_CTRL_SUSPEND@GOTPAGEOFF]
Lloh46:
	ldr	x2, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_WR
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_PSC_CTRL,4,2                   ; @PSC_CTRL
	.comm	_PSC_CTRL_DISABLE,8,3           ; @PSC_CTRL_DISABLE
	.comm	_PSC_SEL,4,2                    ; @PSC_SEL
	.comm	_PSC_SEL_PS_SMBUSMODE,8,3       ; @PSC_SEL_PS_SMBUSMODE
	.comm	_PSC_SMBCFG,4,2                 ; @PSC_SMBCFG
	.comm	_PSC_CTRL_ENABLE,8,3            ; @PSC_CTRL_ENABLE
	.comm	_PSC_SMBSTAT,4,2                ; @PSC_SMBSTAT
	.comm	_PSC_SMBSTAT_SR,4,2             ; @PSC_SMBSTAT_SR
	.comm	_PSC_SMBCFG_RT_FIFO8,8,3        ; @PSC_SMBCFG_RT_FIFO8
	.comm	_PSC_SMBCFG_TT_FIFO8,8,3        ; @PSC_SMBCFG_TT_FIFO8
	.comm	_PSC_SMBCFG_DD_DISABLE,8,3      ; @PSC_SMBCFG_DD_DISABLE
	.comm	_PSC_SMBCFG_DIV8,4,2            ; @PSC_SMBCFG_DIV8
	.comm	_PSC_SMBMSK,4,2                 ; @PSC_SMBMSK
	.comm	_PSC_SMBMSK_ALLMASK,8,3         ; @PSC_SMBMSK_ALLMASK
	.comm	_PSC_SMBTMR,4,2                 ; @PSC_SMBTMR
	.comm	_PSC_SMBCFG_DE_ENABLE,8,3       ; @PSC_SMBCFG_DE_ENABLE
	.comm	_PSC_CTRL_SUSPEND,8,3           ; @PSC_CTRL_SUSPEND
	.no_dead_strip	_i2c_au1550_setup
.subsections_via_symbols
