	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pcs_pinconf_get
_pcs_pinconf_get:                       ## @pcs_pinconf_get
	.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
	movq	%rdx, %r14
	movl	%esi, %r12d
	movq	%rdi, %r13
	callq	_pinctrl_dev_get_drvdata
	movq	%rax, %rbx
	leaq	-56(%rbp), %rdx
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_pcs_get_function
	testl	%eax, %eax
	jne	LBB0_21
## %bb.1:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax
	cmpl	$0, (%rax)
	je	LBB0_20
## %bb.2:
	xorl	%ebx, %ebx
	movq	_PIN_CONFIG_BIAS_DISABLE@GOTPCREL(%rip), %r15
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	callq	_pinconf_to_config_param
	cmpl	(%r15), %eax
	je	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rcx
	movq	8(%rcx), %rdx
	cmpl	(%rdx,%rbx), %eax
	je	LBB0_7
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	movl	(%rcx), %eax
	addq	$16, %rbx
	cmpq	%rax, %r14
	jb	LBB0_3
	jmp	LBB0_20
LBB0_4:
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_pcs_pinconf_bias_disable
	testq	%rax, %rax
	je	LBB0_20
LBB0_5:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
	xorl	%eax, %eax
	jmp	LBB0_21
LBB0_7:
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	(%rsi), %eax
	movq	_BITS_PER_BYTE@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	divl	(%rcx)
	imull	%eax, %r12d
	addq	16(%rsi), %r12
	movq	%r12, %rdi
	callq	*8(%rsi)
                                        ## kill: def $eax killed $eax def $rax
	movq	-56(%rbp), %rdx
	movq	8(%rdx), %rcx
	andl	4(%rcx,%rbx), %eax
	movl	(%rcx,%rbx), %esi
	leal	-133(%rsi), %edi
	cmpl	$2, %edi
	jb	LBB0_16
## %bb.8:
	cmpl	$130, %esi
	je	LBB0_16
## %bb.9:
	cmpl	$131, %esi
	jne	LBB0_18
## %bb.10:
	movl	(%rdx), %edx
	testq	%rdx, %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_15
## %bb.11:
	shlq	$4, %rdx
	xorl	%esi, %esi
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_12 Depth=1
	addq	$16, %rsi
	cmpq	%rsi, %rdx
	je	LBB0_15
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$130, (%rcx,%rsi)
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpl	8(%rcx,%rsi), %eax
	je	LBB0_14
	jmp	LBB0_20
LBB0_16:
	cmpl	8(%rcx,%rbx), %eax
	jne	LBB0_20
## %bb.17:
	cmpl	12(%rcx,%rbx), %eax
	jne	LBB0_5
LBB0_20:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_21:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movl	%eax, %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	xorl	%eax, %eax
	jmp	LBB0_21
LBB0_15:
	movq	%rax, (%rdi)
	xorl	%eax, %eax
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_PIN_CONFIG_BIAS_DISABLE,4,2    ## @PIN_CONFIG_BIAS_DISABLE
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.comm	_BITS_PER_BYTE,4,2              ## @BITS_PER_BYTE
	.no_dead_strip	_pcs_pinconf_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pcs_pinconf_get
_pcs_pinconf_get:                       ; @pcs_pinconf_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x1
	mov	x22, x0
	bl	_pinctrl_dev_get_drvdata
	mov	x21, x0
	add	x2, sp, #8
	mov	x0, x22
	mov	x1, x20
	bl	_pcs_get_function
	cbnz	w0, LBB0_19
; %bb.1:
	ldr	x8, [sp, #8]
	ldr	w8, [x8]
	cbz	w8, LBB0_18
; %bb.2:
	mov	x23, #0
	mov	x24, #0
Lloh0:
	adrp	x25, _PIN_CONFIG_BIAS_DISABLE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _PIN_CONFIG_BIAS_DISABLE@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19]
	bl	_pinconf_to_config_param
	ldr	w8, [x25]
	cmp	w0, w8
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [sp, #8]
	ldr	x9, [x8, #8]
	ldr	w9, [x9, x23]
	cmp	w0, w9
	b.eq	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #1
	ldr	w8, [x8]
	add	x23, x23, #16
	cmp	x24, x8
	b.lo	LBB0_3
	b	LBB0_18
LBB0_6:
	mov	x0, x22
	mov	x1, x20
	bl	_pcs_pinconf_bias_disable
	cbz	x0, LBB0_18
LBB0_7:
	mov	w0, #0
	str	xzr, [x19]
	b	LBB0_19
LBB0_8:
	ldr	w8, [x21]
Lloh2:
	adrp	x9, _BITS_PER_BYTE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _BITS_PER_BYTE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	udiv	w8, w8, w9
	mul	w8, w8, w20
	ldp	x9, x10, [x21, #8]
	add	x0, x10, x8
	blr	x9
	ldr	x9, [sp, #8]
	ldr	x10, [x9, #8]
	add	x11, x10, x23
	ldp	w12, w8, [x11]
	and	w8, w8, w0
	sub	w13, w12, #133
	cmp	w13, #2
	b.lo	LBB0_16
; %bb.9:
	cmp	w12, #130
	b.eq	LBB0_16
; %bb.10:
	cmp	w12, #131
	b.ne	LBB0_20
; %bb.11:
	ldr	w9, [x9]
	cbz	w9, LBB0_20
; %bb.12:
	add	x10, x10, #8
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x10, x10, #16
	subs	x9, x9, #1
	b.eq	LBB0_20
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldur	w11, [x10, #-8]
	cmp	w11, #130
	b.ne	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	w11, [x10]
	cmp	w8, w11
	b.eq	LBB0_13
	b	LBB0_18
LBB0_16:
	ldr	w9, [x11, #8]
	cmp	w8, w9
	b.ne	LBB0_18
; %bb.17:
	add	x9, x10, x23
	ldr	w9, [x9, #12]
	cmp	w8, w9
	b.ne	LBB0_7
LBB0_18:
Lloh5:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_19:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_20:
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_19
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PIN_CONFIG_BIAS_DISABLE,4,2    ; @PIN_CONFIG_BIAS_DISABLE
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.comm	_BITS_PER_BYTE,4,2              ; @BITS_PER_BYTE
	.no_dead_strip	_pcs_pinconf_get
.subsections_via_symbols
