	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pinmux_config_node
_pinmux_config_node:                    ## @pinmux_config_node
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	jne	LBB0_7
## %bb.1:
	cmpq	$0, (%r14)
	je	LBB0_2
## %bb.3:
	movl	4(%r15), %edi
	xorl	%esi, %esi
	callq	_bus_read_4
	movl	%eax, %r12d
	movq	(%r14), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	movl	%r12d, %ecx
	orl	$2, %ecx
	testq	%rax, %rax
	cmovel	%ecx, %r12d
	jmp	LBB0_6
LBB0_2:
	xorl	%eax, %eax
	jmp	LBB0_10
LBB0_4:
	andl	$-3, %r12d
LBB0_6:
	movl	4(%r15), %edi
	xorl	%esi, %esi
	movl	%r12d, %edx
	callq	_bus_write_4
LBB0_7:
	movq	%rbx, %rdi
	callq	_pinmux_search_mux
	testq	%rax, %rax
	je	LBB0_8
## %bb.11:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	movq	%r14, %rcx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pinmux_config_mux              ## TAILCALL
LBB0_8:
	movq	%rbx, %rdi
	callq	_pinmux_search_grp
	testq	%rax, %rax
	je	LBB0_9
## %bb.12:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	movq	%r14, %rcx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pinmux_config_grp              ## TAILCALL
LBB0_9:
	movl	(%r15), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdx
	callq	_device_printf
	movq	_ENXIO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dsi_b"

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

L_.str.2:                               ## @.str.2
	.asciz	"Unknown pin: %s\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
	.no_dead_strip	_pinmux_config_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pinmux_config_node
_pinmux_config_node:                    ; @pinmux_config_node
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbnz	x0, LBB0_7
; %bb.1:
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	w0, [x21, #4]
	mov	w1, #0
	bl	_bus_read_4
	mov	x22, x0
	ldr	x0, [x20]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_5
; %bb.3:
	ldr	x0, [x20]
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	orr	w8, w22, #0x2
	cmp	x0, #0
	csel	w2, w8, w22, eq
	b	LBB0_6
LBB0_4:
	mov	w0, #0
	b	LBB0_12
LBB0_5:
	and	w2, w22, #0xfffffffd
LBB0_6:
	ldr	w0, [x21, #4]
	mov	w1, #0
	bl	_bus_write_4
LBB0_7:
	mov	x0, x19
	bl	_pinmux_search_mux
	cbz	x0, LBB0_9
; %bb.8:
	mov	x2, x0
	mov	x0, x21
	mov	x1, x19
	mov	x3, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_pinmux_config_mux
LBB0_9:
	mov	x0, x19
	bl	_pinmux_search_grp
	cbz	x0, LBB0_11
; %bb.10:
	mov	x2, x0
	mov	x0, x21
	mov	x1, x19
	mov	x3, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_pinmux_config_grp
LBB0_11:
	ldr	w0, [x21]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x19
	bl	_device_printf
Lloh8:
	adrp	x8, _ENXIO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dsi_b"

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

l_.str.2:                               ; @.str.2
	.asciz	"Unknown pin: %s\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
	.no_dead_strip	_pinmux_config_node
.subsections_via_symbols
