	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zynq_pinconf_cfg_get
_zynq_pinconf_cfg_get:                  ## @zynq_pinconf_cfg_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %ebx
	movq	%rdi, %r12
	movq	(%rdx), %rdi
	callq	_pinconf_to_config_param
	movl	%eax, %r14d
	movq	%r12, %rdi
	callq	_pinctrl_dev_get_drvdata
	movq	_ZYNQ_NUM_MIOS@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jbe	LBB0_1
## %bb.3:
	movl	8(%rax), %edi
	shll	$2, %ebx
	addq	(%rax), %rbx
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rsi
	callq	_regmap_read
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movq	_EIO@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_5:
	leal	-128(%r14), %eax
	cmpl	$5, %eax
	ja	LBB0_1
## %bb.6:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_17:
	movq	_ZYNQ_PINCONF_SPEED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%esi, %esi
	testl	%eax, -36(%rbp)
	setne	%sil
	jmp	LBB0_18
LBB0_1:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_19:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movl	-36(%rbp), %edi
	callq	_zynq_pinconf_iostd_get
	movq	_zynq_iostd_hstl@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jne	LBB0_9
## %bb.15:
	movq	_ZYNQ_PINCONF_DISABLE_RECVR@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_16:
	movl	-36(%rbp), %edi
	callq	_zynq_pinconf_iostd_get
	movq	%rax, %rsi
	jmp	LBB0_18
LBB0_7:
	movq	_ZYNQ_PINCONF_PULLUP@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_10:
	movq	_ZYNQ_PINCONF_TRISTATE@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	movl	$1, %esi
	testl	%eax, -36(%rbp)
	je	LBB0_9
LBB0_18:
	movl	%r14d, %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_pinconf_to_config_packed
	movq	%rax, (%r15)
	xorl	%eax, %eax
	jmp	LBB0_19
LBB0_11:
	movl	-36(%rbp), %eax
	movq	_ZYNQ_PINCONF_PULLUP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_9
## %bb.12:
	movq	_ZYNQ_PINCONF_TRISTATE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_13
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_13:
	xorl	%esi, %esi
	jmp	LBB0_18
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
LJTI0_0:
	.long	L0_0_set_17
	.long	L0_0_set_14
	.long	L0_0_set_16
	.long	L0_0_set_7
	.long	L0_0_set_10
	.long	L0_0_set_11
	.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	_EINVAL,4,2                     ## @EINVAL
	.comm	_ZYNQ_PINCONF_TRISTATE,4,2      ## @ZYNQ_PINCONF_TRISTATE
	.comm	_ZYNQ_PINCONF_SPEED,4,2         ## @ZYNQ_PINCONF_SPEED
	.comm	_zynq_iostd_hstl,4,2            ## @zynq_iostd_hstl
	.comm	_ZYNQ_PINCONF_DISABLE_RECVR,4,2 ## @ZYNQ_PINCONF_DISABLE_RECVR
	.no_dead_strip	_zynq_pinconf_cfg_get
.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_get
_zynq_pinconf_cfg_get:                  ; @zynq_pinconf_cfg_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x0, [x2]
	bl	_pinconf_to_config_param
	mov	x20, x0
	mov	x0, x22
	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, w21
	b.ls	LBB0_6
; %bb.1:
	ldr	w8, [x0, #8]
	ldr	x9, [x0]
	lsl	w10, w21, #2
	add	x1, x9, x10
	add	x2, sp, #12
	mov	x0, x8
	bl	_regmap_read
	cbz	w0, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _EIO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
	b	LBB0_7
LBB0_3:
	sub	w8, w20, #128
	cmp	w8, #5
	b.hi	LBB0_6
; %bb.4:
Lloh5:
	adrp	x9, lJTI0_0@PAGE
Lloh6:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_5
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_5:
	ldr	w8, [sp, #12]
Lloh7:
	adrp	x9, _ZYNQ_PINCONF_SPEED@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ZYNQ_PINCONF_SPEED@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w1, ne
	b	LBB0_16
LBB0_6:
Lloh10:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_9:
	ldr	w0, [sp, #12]
	bl	_zynq_pinconf_iostd_get
Lloh12:
	adrp	x8, _zynq_iostd_hstl@GOTPAGE
Lloh13:
	ldr	x8, [x8, _zynq_iostd_hstl@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_19
; %bb.10:
	ldr	w8, [sp, #12]
Lloh15:
	adrp	x9, _ZYNQ_PINCONF_DISABLE_RECVR@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ZYNQ_PINCONF_DISABLE_RECVR@GOTPAGEOFF]
	b	LBB0_14
LBB0_11:
	ldr	w0, [sp, #12]
	bl	_zynq_pinconf_iostd_get
	mov	x1, x0
	b	LBB0_16
LBB0_12:
	ldr	w8, [sp, #12]
Lloh17:
	adrp	x9, _ZYNQ_PINCONF_PULLUP@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ZYNQ_PINCONF_PULLUP@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
	ldr	w8, [sp, #12]
Lloh19:
	adrp	x9, _ZYNQ_PINCONF_TRISTATE@GOTPAGE
Lloh20:
	ldr	x9, [x9, _ZYNQ_PINCONF_TRISTATE@GOTPAGEOFF]
LBB0_14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.15:
	mov	w1, #1
LBB0_16:
	mov	x0, x20
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_pinconf_to_config_packed
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_8
LBB0_17:
	ldr	w8, [sp, #12]
Lloh21:
	adrp	x9, _ZYNQ_PINCONF_PULLUP@GOTPAGE
Lloh22:
	ldr	x9, [x9, _ZYNQ_PINCONF_PULLUP@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_19
; %bb.18:
Lloh24:
	adrp	x9, _ZYNQ_PINCONF_TRISTATE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _ZYNQ_PINCONF_TRISTATE@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_20
LBB0_19:
Lloh27:
	adrp	x8, _EINVAL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_7
LBB0_20:
	mov	w1, #0
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_5-LBB0_5)>>2
	.byte	(LBB0_9-LBB0_5)>>2
	.byte	(LBB0_11-LBB0_5)>>2
	.byte	(LBB0_12-LBB0_5)>>2
	.byte	(LBB0_13-LBB0_5)>>2
	.byte	(LBB0_17-LBB0_5)>>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	_EINVAL,4,2                     ; @EINVAL
	.comm	_ZYNQ_PINCONF_TRISTATE,4,2      ; @ZYNQ_PINCONF_TRISTATE
	.comm	_ZYNQ_PINCONF_SPEED,4,2         ; @ZYNQ_PINCONF_SPEED
	.comm	_zynq_iostd_hstl,4,2            ; @zynq_iostd_hstl
	.comm	_ZYNQ_PINCONF_DISABLE_RECVR,4,2 ; @ZYNQ_PINCONF_DISABLE_RECVR
	.no_dead_strip	_zynq_pinconf_cfg_get
.subsections_via_symbols
