	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function meson_pinconf_set
_meson_pinconf_set:                     ## @meson_pinconf_set
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	%rdx, %r13
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	callq	_pinctrl_dev_get_drvdata
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testl	%ebx, %ebx
	je	LBB0_16
## %bb.1:
	movl	%ebx, %r14d
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	jmp	LBB0_2
LBB0_13:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_meson_pinconf_disable_bias
	testl	%eax, %eax
	jne	LBB0_17
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	cmpq	%r15, %r14
	je	LBB0_16
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%r15,8), %rdi
	callq	_pinconf_to_config_param
	movl	%eax, %ebx
	addl	$-128, %ebx
	cmpl	$2, %ebx
	ja	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13,%r15,8), %rdi
	callq	_pinconf_to_config_argument
	movl	%eax, %r12d
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$5, %ebx
	ja	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rbx,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edx
	callq	_meson_pinconf_set_output
	testl	%eax, %eax
	je	LBB0_14
	jmp	LBB0_17
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
	subl	(%rcx), %eax
	testl	%eax, %eax
	je	LBB0_14
	jmp	LBB0_17
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edx
	callq	_meson_pinconf_set_output_drive
	testl	%eax, %eax
	je	LBB0_14
	jmp	LBB0_17
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edx
	callq	_meson_pinconf_set_drive_strength
	testl	%eax, %eax
	je	LBB0_14
	jmp	LBB0_17
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	$1, %edx
	jmp	LBB0_11
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	xorl	%edx, %edx
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	callq	_meson_pinconf_enable_bias
	testl	%eax, %eax
	je	LBB0_14
	jmp	LBB0_17
LBB0_16:
	xorl	%eax, %eax
LBB0_17:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_10
	.long	L0_0_set_12
	.long	L0_0_set_13
	.end_data_region
                                        ## -- End function
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.no_dead_strip	_meson_pinconf_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function meson_pinconf_set
_meson_pinconf_set:                     ; @meson_pinconf_set
	.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	x23, x3
	mov	x19, x2
	mov	x20, x1
	bl	_pinctrl_dev_get_drvdata
	cbz	w23, LBB0_14
; %bb.1:
	mov	x21, x0
	mov	w22, #0
	mov	w23, w23
Lloh0:
	adrp	x24, _ENOTSUPP@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ENOTSUPP@GOTPAGEOFF]
Lloh2:
	adrp	x25, lJTI0_0@PAGE
Lloh3:
	add	x25, x25, lJTI0_0@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_meson_pinconf_disable_bias
	cbnz	w0, LBB0_15
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x19, x19, #8
	subs	x23, x23, #1
	b.eq	LBB0_14
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19]
	bl	_pinconf_to_config_param
	sub	w26, w0, #128
	cmp	w26, #2
	b.hi	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x19]
	bl	_pinconf_to_config_argument
	mov	x22, x0
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w26, #5
	b.hi	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	adr	x8, LBB0_2
	ldrb	w9, [x25, x26]
	add	x8, x8, x9, lsl #2
	br	x8
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_meson_pinconf_set_output
	cbz	w0, LBB0_3
	b	LBB0_15
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x24]
	neg	w0, w8
	cbz	w0, LBB0_3
	b	LBB0_15
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_meson_pinconf_set_output_drive
	cbz	w0, LBB0_3
	b	LBB0_15
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_meson_pinconf_set_drive_strength
	cbz	w0, LBB0_3
	b	LBB0_15
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	w2, #1
	bl	_meson_pinconf_enable_bias
	cbz	w0, LBB0_3
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	w2, #0
	bl	_meson_pinconf_enable_bias
	cbz	w0, LBB0_3
	b	LBB0_15
LBB0_14:
	mov	w0, #0
LBB0_15:
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.no_dead_strip	_meson_pinconf_set
.subsections_via_symbols
