	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zynq_pinconf_cfg_set
_zynq_pinconf_cfg_set:                  ## @zynq_pinconf_cfg_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rdx, %r15
	movl	%esi, %ebx
	movq	%rdi, %r12
	callq	_pinctrl_dev_get_drvdata
	movq	%rax, %r14
	movq	_ZYNQ_NUM_MIOS@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jbe	LBB0_21
## %bb.1:
	movl	8(%r14), %edi
	shll	$2, %ebx
	movq	(%r14), %rsi
	addq	%rbx, %rsi
	leaq	-44(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	jne	LBB0_27
## %bb.2:
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	testl	%r13d, %r13d
	je	LBB0_22
## %bb.3:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movl	%r13d, %r14d
	xorl	%r12d, %r12d
	leaq	LJTI0_0(%rip), %rbx
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_6
LBB0_4:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	_ZYNQ_PINCONF_TRISTATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ZYNQ_PINCONF_PULLUP@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	notl	%eax
	andl	%eax, -44(%rbp)
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%r12
	cmpq	%r12, %r14
	je	LBB0_23
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%r12,8), %rdi
	callq	_pinconf_to_config_param
	movl	%eax, %r13d
	movq	(%r15,%r12,8), %rdi
	callq	_pinconf_to_config_argument
	leal	-128(%r13), %ecx
	cmpl	$5, %ecx
	ja	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movslq	(%rbx,%rcx,4), %rcx
	addq	%rbx, %rcx
	jmpq	*%rcx
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	_ZYNQ_PINCONF_SPEED@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r13d, %edx
	jmp	LBB0_20
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_ZYNQ_PINCONF_DISABLE_RECVR@GOTPCREL(%rip), %rcx
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	(%rcx), %ecx
	testl	%eax, %eax
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	orl	%ecx, -44(%rbp)
	jmp	LBB0_5
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_zynq_iostd_min@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jbe	LBB0_19
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_zynq_iostd_max@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jae	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_ZYNQ_PINCONF_IOTYPE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	movq	_ZYNQ_PINCONF_IOTYPE_SHIFT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	shll	%cl, %eax
	andl	-44(%rbp), %edx
	orl	%edx, %eax
	movl	%eax, -44(%rbp)
	jmp	LBB0_5
LBB0_17:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_ZYNQ_PINCONF_PULLUP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_5
LBB0_18:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_ZYNQ_PINCONF_TRISTATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	jmp	LBB0_5
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	notl	%ecx
	andl	%ecx, -44(%rbp)
	jmp	LBB0_5
LBB0_19:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	$130, %edx
LBB0_20:                                ##   in Loop: Header=BB0_6 Depth=1
	callq	_dev_warn
	jmp	LBB0_5
LBB0_21:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_28
LBB0_22:
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
LBB0_23:
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	orl	-48(%rbp), %edx                 ## 4-byte Folded Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_25
## %bb.24:
	movq	_ZYNQ_PINCONF_PULLUP@GOTPCREL(%rip), %rax
	movq	_ZYNQ_PINCONF_TRISTATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	andl	-44(%rbp), %ecx
	orl	%ecx, %edx
	movl	%edx, -44(%rbp)
	jmp	LBB0_26
LBB0_25:
	movl	-44(%rbp), %edx
LBB0_26:
	movl	8(%rbx), %edi
	addq	(%rbx), %rsi
	callq	_regmap_write
	testl	%eax, %eax
	je	LBB0_30
LBB0_27:
	movq	_EIO@GOTPCREL(%rip), %rcx
LBB0_28:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_29:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	xorl	%eax, %eax
	jmp	LBB0_29
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_12
	.long	L0_0_set_14
	.long	L0_0_set_17
	.long	L0_0_set_18
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_ZYNQ_NUM_MIOS,4,2              ## @ZYNQ_NUM_MIOS
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.comm	_EIO,4,2                        ## @EIO
	.comm	_ZYNQ_PINCONF_PULLUP,4,2        ## @ZYNQ_PINCONF_PULLUP
	.comm	_ZYNQ_PINCONF_TRISTATE,4,2      ## @ZYNQ_PINCONF_TRISTATE
	.comm	_ZYNQ_PINCONF_SPEED,4,2         ## @ZYNQ_PINCONF_SPEED
	.comm	_zynq_iostd_min,4,2             ## @zynq_iostd_min
	.comm	_zynq_iostd_max,4,2             ## @zynq_iostd_max
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unsupported IO standard '%u'\n"

	.comm	_ZYNQ_PINCONF_IOTYPE_MASK,4,2   ## @ZYNQ_PINCONF_IOTYPE_MASK
	.comm	_ZYNQ_PINCONF_IOTYPE_SHIFT,4,2  ## @ZYNQ_PINCONF_IOTYPE_SHIFT
	.comm	_ZYNQ_PINCONF_DISABLE_RECVR,4,2 ## @ZYNQ_PINCONF_DISABLE_RECVR
L_.str.1:                               ## @.str.1
	.asciz	"unsupported configuration parameter '%u'\n"

	.no_dead_strip	_zynq_pinconf_cfg_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zynq_pinconf_cfg_set
_zynq_pinconf_cfg_set:                  ; @zynq_pinconf_cfg_set
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x3
	mov	x20, x2
	mov	x23, x1
	mov	x21, x0
	bl	_pinctrl_dev_get_drvdata
Lloh0:
	adrp	x8, _ZYNQ_NUM_MIOS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZYNQ_NUM_MIOS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w23
	b.ls	LBB0_20
; %bb.1:
	mov	x19, x0
	ldr	w0, [x0, #8]
	ldr	x8, [x19]
	lsl	w25, w23, #2
	add	x1, x8, x25
	add	x2, sp, #12
	bl	_regmap_read
	cbnz	w0, LBB0_26
; %bb.2:
Lloh3:
	adrp	x27, _ZYNQ_PINCONF_TRISTATE@GOTPAGE
Lloh4:
	ldr	x27, [x27, _ZYNQ_PINCONF_TRISTATE@GOTPAGEOFF]
	cbz	w22, LBB0_21
; %bb.3:
	mov	w23, #0
	mov	w28, #0
	mov	w22, w22
Lloh5:
	adrp	x26, lJTI0_0@PAGE
Lloh6:
	add	x26, x26, lJTI0_0@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w23, [x27]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x20, x20, #8
	subs	x22, x22, #1
	b.eq	LBB0_22
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20]
	bl	_pinconf_to_config_param
	mov	x24, x0
	ldr	x0, [x20]
	bl	_pinconf_to_config_argument
	sub	w8, w24, #128
	cmp	w8, #5
	b.hi	LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	adr	x9, LBB0_4
	ldrb	w10, [x26, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
Lloh7:
	adrp	x8, _ZYNQ_PINCONF_SPEED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ZYNQ_PINCONF_SPEED@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cbnz	w0, LBB0_11
	b	LBB0_17
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x21]
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x24
	b	LBB0_14
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh12:
	adrp	x8, _ZYNQ_PINCONF_DISABLE_RECVR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ZYNQ_PINCONF_DISABLE_RECVR@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cbz	w0, LBB0_17
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [sp, #12]
	b	LBB0_19
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh15:
	adrp	x8, _zynq_iostd_min@GOTPAGE
Lloh16:
	ldr	x8, [x8, _zynq_iostd_min@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _zynq_iostd_max@GOTPAGE
Lloh19:
	ldr	x9, [x9, _zynq_iostd_max@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	cmp	w0, w8
	ccmp	w0, w9, #2, hi
	b.lo	LBB0_18
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x21]
Lloh21:
	adrp	x1, l_.str@PAGE
Lloh22:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #130
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_dev_warn
	b	LBB0_5
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh23:
	adrp	x8, _ZYNQ_PINCONF_PULLUP@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ZYNQ_PINCONF_PULLUP@GOTPAGEOFF]
Lloh25:
	ldr	w28, [x8]
	b	LBB0_5
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh26:
	adrp	x8, _ZYNQ_PINCONF_PULLUP@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ZYNQ_PINCONF_PULLUP@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	ldr	w9, [x27]
	orr	w8, w9, w8
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w9, [sp, #12]
	bic	w8, w9, w8
	str	w8, [sp, #12]
	b	LBB0_5
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh29:
	adrp	x8, _ZYNQ_PINCONF_IOTYPE_MASK@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ZYNQ_PINCONF_IOTYPE_MASK@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	bic	w8, w9, w8
Lloh32:
	adrp	x9, _ZYNQ_PINCONF_IOTYPE_SHIFT@GOTPAGE
Lloh33:
	ldr	x9, [x9, _ZYNQ_PINCONF_IOTYPE_SHIFT@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	lsl	w9, w0, w9
LBB0_19:                                ;   in Loop: Header=BB0_6 Depth=1
	orr	w8, w9, w8
	str	w8, [sp, #12]
	b	LBB0_5
LBB0_20:
Lloh35:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
	b	LBB0_27
LBB0_21:
	mov	w28, #0
	mov	w23, #0
LBB0_22:
	orr	w8, w23, w28
	cbz	w8, LBB0_24
; %bb.23:
Lloh37:
	adrp	x9, _ZYNQ_PINCONF_PULLUP@GOTPAGE
Lloh38:
	ldr	x9, [x9, _ZYNQ_PINCONF_PULLUP@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	ldr	w10, [x27]
	orr	w9, w10, w9
	ldr	w10, [sp, #12]
	bic	w9, w10, w9
	orr	w2, w8, w9
	str	w2, [sp, #12]
	b	LBB0_25
LBB0_24:
	ldr	w2, [sp, #12]
LBB0_25:
	ldr	w0, [x19, #8]
	ldr	x8, [x19]
	add	x1, x8, x25
	bl	_regmap_write
	cbz	w0, LBB0_28
LBB0_26:
Lloh40:
	adrp	x8, _EIO@GOTPAGE
Lloh41:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_27:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_28:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_10-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
                                        ; -- End function
	.comm	_ZYNQ_NUM_MIOS,4,2              ; @ZYNQ_NUM_MIOS
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.comm	_EIO,4,2                        ; @EIO
	.comm	_ZYNQ_PINCONF_PULLUP,4,2        ; @ZYNQ_PINCONF_PULLUP
	.comm	_ZYNQ_PINCONF_TRISTATE,4,2      ; @ZYNQ_PINCONF_TRISTATE
	.comm	_ZYNQ_PINCONF_SPEED,4,2         ; @ZYNQ_PINCONF_SPEED
	.comm	_zynq_iostd_min,4,2             ; @zynq_iostd_min
	.comm	_zynq_iostd_max,4,2             ; @zynq_iostd_max
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unsupported IO standard '%u'\n"

	.comm	_ZYNQ_PINCONF_IOTYPE_MASK,4,2   ; @ZYNQ_PINCONF_IOTYPE_MASK
	.comm	_ZYNQ_PINCONF_IOTYPE_SHIFT,4,2  ; @ZYNQ_PINCONF_IOTYPE_SHIFT
	.comm	_ZYNQ_PINCONF_DISABLE_RECVR,4,2 ; @ZYNQ_PINCONF_DISABLE_RECVR
l_.str.1:                               ; @.str.1
	.asciz	"unsupported configuration parameter '%u'\n"

	.no_dead_strip	_zynq_pinconf_cfg_set
.subsections_via_symbols
