	.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_avail
_stm32_tt_show_master_mode_avail:       ## @stm32_tt_show_master_mode_avail
	.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	%rdx, %r15
	callq	_to_iio_trigger
	movl	(%rax), %edi
	callq	_stm32_timer_is_trgo2_name
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_MASTER_MODE_MAX@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_MASTER_MODE2_MAX@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %ebx
	xorl	%eax, %eax
	leaq	L_.str(%rip), %r14
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r13
	leaq	(%r15,%rax), %rdi
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	subq	%r13, %rsi
	movq	_master_mode_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r12d, %ecx
	movl	(%rax,%rcx,4), %ecx
	movq	%r14, %rdx
	callq	_scnprintf
	addq	%r13, %rax
	incl	%r12d
	cmpl	%ebx, %r12d
	jbe	LBB0_4
## %bb.5:
	movb	$10, -1(%rax,%r15)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MASTER_MODE2_MAX,4,2           ## @MASTER_MODE2_MAX
	.comm	_MASTER_MODE_MAX,4,2            ## @MASTER_MODE_MAX
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s "

	.comm	_master_mode_table,8,3          ## @master_mode_table
	.no_dead_strip	_stm32_tt_show_master_mode_avail
.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_avail
_stm32_tt_show_master_mode_avail:       ; @stm32_tt_show_master_mode_avail
	.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, x2
	bl	_to_iio_trigger
	ldr	w0, [x0]
	bl	_stm32_timer_is_trgo2_name
	mov	x20, #0
	mov	w22, #0
Lloh0:
	adrp	x8, _MASTER_MODE_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MASTER_MODE_MAX@GOTPAGEOFF]
Lloh2:
	adrp	x9, _MASTER_MODE2_MAX@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MASTER_MODE2_MAX@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldr	w23, [x8]
Lloh4:
	adrp	x24, _PAGE_SIZE@GOTPAGE
Lloh5:
	ldr	x24, [x24, _PAGE_SIZE@GOTPAGEOFF]
Lloh6:
	adrp	x25, _master_mode_table@GOTPAGE
Lloh7:
	ldr	x25, [x25, _master_mode_table@GOTPAGEOFF]
Lloh8:
	adrp	x21, l_.str@PAGE
Lloh9:
	add	x21, x21, l_.str@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x19, x20
	ldr	x8, [x24]
	sub	x1, x8, x20
	ldr	x8, [x25]
	ldr	w3, [x8, w22, uxtw #2]
	mov	x2, x21
	bl	_scnprintf
	add	x20, x0, x20
	add	w22, w22, #1
	cmp	w22, w23
	b.ls	LBB0_1
; %bb.2:
	add	x8, x20, x19
	mov	w9, #10
	sturb	w9, [x8, #-1]
	mov	x0, x20
	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
	ret
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MASTER_MODE2_MAX,4,2           ; @MASTER_MODE2_MAX
	.comm	_MASTER_MODE_MAX,4,2            ; @MASTER_MODE_MAX
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s "

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