	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cdns_i2c_master_reset
_cdns_i2c_master_reset:                 ## @cdns_i2c_master_reset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_CDNS_I2C_IXR_ALL_INTR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_CDNS_I2C_IDR_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_cdns_i2c_writereg
	movq	_CDNS_I2C_CR_OFFSET@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_cdns_i2c_readreg
	movq	_CDNS_I2C_CR_HOLD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	movq	_CDNS_I2C_CR_CLR_FIFO@GOTPCREL(%rip), %rax
	orl	(%rax), %edi
	movl	(%rbx), %esi
	callq	_cdns_i2c_writereg
	movq	_CDNS_I2C_XFER_SIZE_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_cdns_i2c_writereg
	movq	_CDNS_I2C_ISR_OFFSET@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_cdns_i2c_readreg
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_cdns_i2c_writereg
	movq	_CDNS_I2C_SR_OFFSET@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_cdns_i2c_readreg
	movl	(%rbx), %esi
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_cdns_i2c_writereg              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CDNS_I2C_IXR_ALL_INTR_MASK,4,2 ## @CDNS_I2C_IXR_ALL_INTR_MASK
	.comm	_CDNS_I2C_IDR_OFFSET,4,2        ## @CDNS_I2C_IDR_OFFSET
	.comm	_CDNS_I2C_CR_OFFSET,4,2         ## @CDNS_I2C_CR_OFFSET
	.comm	_CDNS_I2C_CR_HOLD,4,2           ## @CDNS_I2C_CR_HOLD
	.comm	_CDNS_I2C_CR_CLR_FIFO,4,2       ## @CDNS_I2C_CR_CLR_FIFO
	.comm	_CDNS_I2C_XFER_SIZE_OFFSET,4,2  ## @CDNS_I2C_XFER_SIZE_OFFSET
	.comm	_CDNS_I2C_ISR_OFFSET,4,2        ## @CDNS_I2C_ISR_OFFSET
	.comm	_CDNS_I2C_SR_OFFSET,4,2         ## @CDNS_I2C_SR_OFFSET
	.no_dead_strip	_cdns_i2c_master_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cdns_i2c_master_reset
_cdns_i2c_master_reset:                 ; @cdns_i2c_master_reset
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _CDNS_I2C_IXR_ALL_INTR_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CDNS_I2C_IXR_ALL_INTR_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _CDNS_I2C_IDR_OFFSET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CDNS_I2C_IDR_OFFSET@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_cdns_i2c_writereg
Lloh6:
	adrp	x19, _CDNS_I2C_CR_OFFSET@GOTPAGE
Lloh7:
	ldr	x19, [x19, _CDNS_I2C_CR_OFFSET@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_cdns_i2c_readreg
Lloh8:
	adrp	x8, _CDNS_I2C_CR_HOLD@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CDNS_I2C_CR_HOLD@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	bic	w8, w0, w8
Lloh11:
	adrp	x9, _CDNS_I2C_CR_CLR_FIFO@GOTPAGE
Lloh12:
	ldr	x9, [x9, _CDNS_I2C_CR_CLR_FIFO@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w0, w8, w9
	ldr	w1, [x19]
	bl	_cdns_i2c_writereg
Lloh14:
	adrp	x8, _CDNS_I2C_XFER_SIZE_OFFSET@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CDNS_I2C_XFER_SIZE_OFFSET@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_cdns_i2c_writereg
Lloh17:
	adrp	x19, _CDNS_I2C_ISR_OFFSET@GOTPAGE
Lloh18:
	ldr	x19, [x19, _CDNS_I2C_ISR_OFFSET@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_cdns_i2c_readreg
	ldr	w1, [x19]
	bl	_cdns_i2c_writereg
Lloh19:
	adrp	x19, _CDNS_I2C_SR_OFFSET@GOTPAGE
Lloh20:
	ldr	x19, [x19, _CDNS_I2C_SR_OFFSET@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_cdns_i2c_readreg
	ldr	w1, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cdns_i2c_writereg
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CDNS_I2C_IXR_ALL_INTR_MASK,4,2 ; @CDNS_I2C_IXR_ALL_INTR_MASK
	.comm	_CDNS_I2C_IDR_OFFSET,4,2        ; @CDNS_I2C_IDR_OFFSET
	.comm	_CDNS_I2C_CR_OFFSET,4,2         ; @CDNS_I2C_CR_OFFSET
	.comm	_CDNS_I2C_CR_HOLD,4,2           ; @CDNS_I2C_CR_HOLD
	.comm	_CDNS_I2C_CR_CLR_FIFO,4,2       ; @CDNS_I2C_CR_CLR_FIFO
	.comm	_CDNS_I2C_XFER_SIZE_OFFSET,4,2  ; @CDNS_I2C_XFER_SIZE_OFFSET
	.comm	_CDNS_I2C_ISR_OFFSET,4,2        ; @CDNS_I2C_ISR_OFFSET
	.comm	_CDNS_I2C_SR_OFFSET,4,2         ; @CDNS_I2C_SR_OFFSET
	.no_dead_strip	_cdns_i2c_master_reset
.subsections_via_symbols
