	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stm32_tt_show_master_mode
_stm32_tt_show_master_mode:             ## @stm32_tt_show_master_mode
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %rbx
	callq	_dev_get_drvdata
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_to_iio_trigger
	movq	%rax, %rbx
	movl	(%r15), %edi
	movq	_TIM_CR2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-32(%rbp), %rdx
	callq	_regmap_read
	movl	(%rbx), %edi
	callq	_stm32_timer_is_trgo2_name
	testq	%rax, %rax
	movq	_TIM_CR2_MMS2@GOTPCREL(%rip), %rax
	cmoveq	_TIM_CR2_MMS@GOTPCREL(%rip), %rax
	movq	_TIM_CR2_MMS2_SHIFT@GOTPCREL(%rip), %rcx
	cmoveq	_TIM_CR2_MMS_SHIFT@GOTPCREL(%rip), %rcx
	movq	(%rax), %rax
	andq	-32(%rbp), %rax
	movb	(%rcx), %cl
	shrq	%cl, %rax
	movq	%rax, -32(%rbp)
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_master_mode_table@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rax,8), %rcx
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_snprintf
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TIM_CR2,4,2                    ## @TIM_CR2
	.comm	_TIM_CR2_MMS2,8,3               ## @TIM_CR2_MMS2
	.comm	_TIM_CR2_MMS2_SHIFT,8,3         ## @TIM_CR2_MMS2_SHIFT
	.comm	_TIM_CR2_MMS,8,3                ## @TIM_CR2_MMS
	.comm	_TIM_CR2_MMS_SHIFT,8,3          ## @TIM_CR2_MMS_SHIFT
	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\n"

	.comm	_master_mode_table,8,3          ## @master_mode_table
	.no_dead_strip	_stm32_tt_show_master_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stm32_tt_show_master_mode
_stm32_tt_show_master_mode:             ; @stm32_tt_show_master_mode
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x20, x0
	bl	_dev_get_drvdata
	mov	x21, x0
	mov	x0, x20
	bl	_to_iio_trigger
	mov	x20, x0
	ldr	w0, [x21]
Lloh0:
	adrp	x8, _TIM_CR2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TIM_CR2@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_regmap_read
	ldr	w0, [x20]
	bl	_stm32_timer_is_trgo2_name
	ldr	x8, [sp, #8]
Lloh3:
	adrp	x9, _TIM_CR2_MMS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TIM_CR2_MMS@GOTPAGEOFF]
Lloh5:
	adrp	x10, _TIM_CR2_MMS2@GOTPAGE
Lloh6:
	ldr	x10, [x10, _TIM_CR2_MMS2@GOTPAGEOFF]
	cmp	x0, #0
	csel	x9, x9, x10, eq
	ldr	x9, [x9]
	and	x8, x9, x8
Lloh7:
	adrp	x9, _TIM_CR2_MMS_SHIFT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _TIM_CR2_MMS_SHIFT@GOTPAGEOFF]
Lloh9:
	adrp	x10, _TIM_CR2_MMS2_SHIFT@GOTPAGE
Lloh10:
	ldr	x10, [x10, _TIM_CR2_MMS2_SHIFT@GOTPAGEOFF]
	csel	x9, x9, x10, eq
	ldr	x9, [x9]
	lsr	x8, x8, x9
	str	x8, [sp, #8]
Lloh11:
	adrp	x9, _PAGE_SIZE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _PAGE_SIZE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x9]
Lloh14:
	adrp	x9, _master_mode_table@GOTPAGE
Lloh15:
	ldr	x9, [x9, _master_mode_table@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	ldr	x3, [x9, x8, lsl #3]
Lloh17:
	adrp	x2, l_.str@PAGE
Lloh18:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_snprintf
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TIM_CR2,4,2                    ; @TIM_CR2
	.comm	_TIM_CR2_MMS2,8,3               ; @TIM_CR2_MMS2
	.comm	_TIM_CR2_MMS2_SHIFT,8,3         ; @TIM_CR2_MMS2_SHIFT
	.comm	_TIM_CR2_MMS,8,3                ; @TIM_CR2_MMS
	.comm	_TIM_CR2_MMS_SHIFT,8,3          ; @TIM_CR2_MMS_SHIFT
	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\n"

	.comm	_master_mode_table,8,3          ; @master_mode_table
	.no_dead_strip	_stm32_tt_show_master_mode
.subsections_via_symbols
