	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function st_pinconf_dbg_show
_st_pinconf_dbg_show:                   ## @st_pinconf_dbg_show
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	%edx, %edi
	callq	_st_gpio_pin
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_st_get_pio_control
	movq	%rax, %r14
	leaq	-72(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	_st_pinconf_get
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_st_pctl_get_pin_function
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdx
	leaq	-64(%rbp), %rdi
	movl	$10, %esi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_snprintf
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str.1(%rip), %rdx
	leaq	-64(%rbp), %rdi
	movl	$5, %esi
	xorl	%eax, %eax
	callq	_snprintf
LBB0_3:
	movq	%r14, %rdi
	callq	_pc_to_bank
	movq	%rax, %rdi
	movl	%r15d, %esi
	callq	_st_gpio_get_direction
	xorl	%ebx, %ebx
	testl	%eax, %eax
	sete	%bl
	movq	-72(%rbp), %rdi
	callq	_ST_PINCONF_UNPACK_PU
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movq	-72(%rbp), %rdi
	callq	_ST_PINCONF_UNPACK_OD
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movq	-72(%rbp), %rdi
	callq	_ST_PINCONF_UNPACK_RT
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rdi
	callq	_ST_PINCONF_UNPACK_RT_INVERTCLK
	movl	%eax, %r14d
	movq	-72(%rbp), %rdi
	callq	_ST_PINCONF_UNPACK_RT_CLKNOTDATA
	movl	%eax, %r15d
	movq	-72(%rbp), %rdi
	callq	_ST_PINCONF_UNPACK_RT_DOUBLE_EDGE
	movl	%eax, %r12d
	movq	-72(%rbp), %rdi
	callq	_ST_PINCONF_UNPACK_RT_CLK
	movl	%eax, %r13d
	movq	-72(%rbp), %rdi
	callq	_ST_PINCONF_UNPACK_RT_DELAY
                                        ## kill: def $eax killed $eax def $rax
	leaq	L_.str.2(%rip), %rsi
	leaq	-64(%rbp), %r9
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %edx
	movl	-80(%rbp), %ecx                 ## 4-byte Reload
	movl	-76(%rbp), %r8d                 ## 4-byte Reload
	pushq	%rax
	pushq	%r13
	pushq	%r12
	pushq	%r15
	pushq	%r14
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	callq	_seq_printf
	addq	$48, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Alt Fn %u"

L_.str.1:                               ## @.str.1
	.asciz	"GPIO"

L_.str.2:                               ## @.str.2
	.asciz	"[OE:%d,PU:%ld,OD:%ld]\t%s\n\t\t[retime:%ld,invclk:%ld,clknotdat:%ld,de:%ld,rt-clk:%ld,rt-delay:%ld]"

	.no_dead_strip	_st_pinconf_dbg_show
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function st_pinconf_dbg_show
_st_pinconf_dbg_show:                   ; @st_pinconf_dbg_show
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x2
	mov	x19, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	mov	x0, x2
	bl	_st_gpio_pin
	mov	x20, x0
	mov	x0, x23
	bl	_mutex_unlock
	mov	x0, x23
	mov	x1, x22
	bl	_st_get_pio_control
	mov	x21, x0
	add	x2, sp, #16
	mov	x0, x23
	mov	x1, x22
	bl	_st_pinconf_get
	mov	x0, x23
	bl	_mutex_lock
	mov	x0, x21
	mov	x1, x20
	bl	_st_pctl_get_pin_function
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_2
; %bb.1:
	str	x0, [sp]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #24
	mov	w1, #10
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #24
	mov	w1, #5
LBB0_3:
	bl	_snprintf
	mov	x0, x21
	bl	_pc_to_bank
	mov	x1, x20
	bl	_st_gpio_get_direction
	cmp	w0, #0
	cset	w20, eq
	ldr	x0, [sp, #16]
	bl	_ST_PINCONF_UNPACK_PU
	mov	x21, x0
	ldr	x0, [sp, #16]
	bl	_ST_PINCONF_UNPACK_OD
	mov	x22, x0
	ldr	x0, [sp, #16]
	bl	_ST_PINCONF_UNPACK_RT
	mov	x23, x0
	ldr	x0, [sp, #16]
	bl	_ST_PINCONF_UNPACK_RT_INVERTCLK
	mov	x24, x0
	ldr	x0, [sp, #16]
	bl	_ST_PINCONF_UNPACK_RT_CLKNOTDATA
	mov	x25, x0
	ldr	x0, [sp, #16]
	bl	_ST_PINCONF_UNPACK_RT_DOUBLE_EDGE
	mov	x26, x0
	ldr	x0, [sp, #16]
	bl	_ST_PINCONF_UNPACK_RT_CLK
	mov	x27, x0
	ldr	x0, [sp, #16]
	bl	_ST_PINCONF_UNPACK_RT_DELAY
	stp	w27, w0, [sp, #8]
	stp	w25, w26, [sp]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x5, sp, #24
	mov	x0, x19
	mov	x2, x20
	mov	x3, x21
	mov	x4, x22
	mov	x6, x23
	mov	x7, x24
	bl	_seq_printf
	ldr	x8, [sp, #40]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Alt Fn %u"

l_.str.1:                               ; @.str.1
	.asciz	"GPIO"

l_.str.2:                               ; @.str.2
	.asciz	"[OE:%d,PU:%ld,OD:%ld]\t%s\n\t\t[retime:%ld,invclk:%ld,clknotdat:%ld,de:%ld,rt-clk:%ld,rt-delay:%ld]"

	.no_dead_strip	_st_pinconf_dbg_show
.subsections_via_symbols
