	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmcmsptwi_get_result
_pmcmsptwi_get_result:                  ## @pmcmsptwi_get_result
	.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	_MSP_TWI_INT_STS_LOST_ARBITRATION@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_MSP_TWI_XFER_LOST_ARBITRATION@GOTPCREL(%rip), %rbx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_7
LBB0_2:
	movq	_MSP_TWI_INT_STS_NO_RESPONSE@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_4
## %bb.3:
	movq	_MSP_TWI_XFER_NO_RESPONSE@GOTPCREL(%rip), %rbx
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_7
LBB0_4:
	movq	_MSP_TWI_INT_STS_DATA_COLLISION@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_MSP_TWI_XFER_DATA_COLLISION@GOTPCREL(%rip), %rbx
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_7
LBB0_6:
	movq	_MSP_TWI_INT_STS_BUSY@GOTPCREL(%rip), %rax
	testl	%edi, (%rax)
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %rsi
	cmoveq	%rax, %rsi
	movq	_MSP_TWI_XFER_BUSY@GOTPCREL(%rip), %rbx
	cmoveq	_MSP_TWI_XFER_OK@GOTPCREL(%rip), %rbx
LBB0_7:
	movq	_pmcmsptwi_adapter@GOTPCREL(%rip), %rdi
	callq	_dev_dbg
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSP_TWI_INT_STS_LOST_ARBITRATION,4,2 ## @MSP_TWI_INT_STS_LOST_ARBITRATION
	.comm	_pmcmsptwi_adapter,4,2          ## @pmcmsptwi_adapter
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Result: Lost arbitration\n"

	.comm	_MSP_TWI_XFER_LOST_ARBITRATION,4,2 ## @MSP_TWI_XFER_LOST_ARBITRATION
	.comm	_MSP_TWI_INT_STS_NO_RESPONSE,4,2 ## @MSP_TWI_INT_STS_NO_RESPONSE
L_.str.1:                               ## @.str.1
	.asciz	"Result: No response\n"

	.comm	_MSP_TWI_XFER_NO_RESPONSE,4,2   ## @MSP_TWI_XFER_NO_RESPONSE
	.comm	_MSP_TWI_INT_STS_DATA_COLLISION,4,2 ## @MSP_TWI_INT_STS_DATA_COLLISION
L_.str.2:                               ## @.str.2
	.asciz	"Result: Data collision\n"

	.comm	_MSP_TWI_XFER_DATA_COLLISION,4,2 ## @MSP_TWI_XFER_DATA_COLLISION
	.comm	_MSP_TWI_INT_STS_BUSY,4,2       ## @MSP_TWI_INT_STS_BUSY
L_.str.3:                               ## @.str.3
	.asciz	"Result: Bus busy\n"

	.comm	_MSP_TWI_XFER_BUSY,4,2          ## @MSP_TWI_XFER_BUSY
L_.str.4:                               ## @.str.4
	.asciz	"Result: Operation succeeded\n"

	.comm	_MSP_TWI_XFER_OK,4,2            ## @MSP_TWI_XFER_OK
	.no_dead_strip	_pmcmsptwi_get_result
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmcmsptwi_get_result
_pmcmsptwi_get_result:                  ; @pmcmsptwi_get_result
	.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, _MSP_TWI_INT_STS_LOST_ARBITRATION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSP_TWI_INT_STS_LOST_ARBITRATION@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x19, _MSP_TWI_XFER_LOST_ARBITRATION@GOTPAGE
Lloh4:
	ldr	x19, [x19, _MSP_TWI_XFER_LOST_ARBITRATION@GOTPAGEOFF]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_7
LBB0_2:
Lloh7:
	adrp	x8, _MSP_TWI_INT_STS_NO_RESPONSE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MSP_TWI_INT_STS_NO_RESPONSE@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.3:
Lloh10:
	adrp	x19, _MSP_TWI_XFER_NO_RESPONSE@GOTPAGE
Lloh11:
	ldr	x19, [x19, _MSP_TWI_XFER_NO_RESPONSE@GOTPAGEOFF]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_4:
Lloh14:
	adrp	x8, _MSP_TWI_INT_STS_DATA_COLLISION@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MSP_TWI_INT_STS_DATA_COLLISION@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_6
; %bb.5:
Lloh17:
	adrp	x19, _MSP_TWI_XFER_DATA_COLLISION@GOTPAGE
Lloh18:
	ldr	x19, [x19, _MSP_TWI_XFER_DATA_COLLISION@GOTPAGEOFF]
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_6:
Lloh21:
	adrp	x8, _MSP_TWI_INT_STS_BUSY@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MSP_TWI_INT_STS_BUSY@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, l_.str.3@PAGE
Lloh25:
	add	x9, x9, l_.str.3@PAGEOFF
Lloh26:
	adrp	x10, l_.str.4@PAGE
Lloh27:
	add	x10, x10, l_.str.4@PAGEOFF
	tst	w8, w0
	csel	x1, x10, x9, eq
Lloh28:
	adrp	x8, _MSP_TWI_XFER_BUSY@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MSP_TWI_XFER_BUSY@GOTPAGEOFF]
Lloh30:
	adrp	x9, _MSP_TWI_XFER_OK@GOTPAGE
Lloh31:
	ldr	x9, [x9, _MSP_TWI_XFER_OK@GOTPAGEOFF]
	csel	x19, x9, x8, eq
LBB0_7:
Lloh32:
	adrp	x0, _pmcmsptwi_adapter@GOTPAGE
Lloh33:
	ldr	x0, [x0, _pmcmsptwi_adapter@GOTPAGEOFF]
	bl	_dev_dbg
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_MSP_TWI_INT_STS_LOST_ARBITRATION,4,2 ; @MSP_TWI_INT_STS_LOST_ARBITRATION
	.comm	_pmcmsptwi_adapter,4,2          ; @pmcmsptwi_adapter
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Result: Lost arbitration\n"

	.comm	_MSP_TWI_XFER_LOST_ARBITRATION,4,2 ; @MSP_TWI_XFER_LOST_ARBITRATION
	.comm	_MSP_TWI_INT_STS_NO_RESPONSE,4,2 ; @MSP_TWI_INT_STS_NO_RESPONSE
l_.str.1:                               ; @.str.1
	.asciz	"Result: No response\n"

	.comm	_MSP_TWI_XFER_NO_RESPONSE,4,2   ; @MSP_TWI_XFER_NO_RESPONSE
	.comm	_MSP_TWI_INT_STS_DATA_COLLISION,4,2 ; @MSP_TWI_INT_STS_DATA_COLLISION
l_.str.2:                               ; @.str.2
	.asciz	"Result: Data collision\n"

	.comm	_MSP_TWI_XFER_DATA_COLLISION,4,2 ; @MSP_TWI_XFER_DATA_COLLISION
	.comm	_MSP_TWI_INT_STS_BUSY,4,2       ; @MSP_TWI_INT_STS_BUSY
l_.str.3:                               ; @.str.3
	.asciz	"Result: Bus busy\n"

	.comm	_MSP_TWI_XFER_BUSY,4,2          ; @MSP_TWI_XFER_BUSY
l_.str.4:                               ; @.str.4
	.asciz	"Result: Operation succeeded\n"

	.comm	_MSP_TWI_XFER_OK,4,2            ; @MSP_TWI_XFER_OK
	.no_dead_strip	_pmcmsptwi_get_result
.subsections_via_symbols
