	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_xusb_padctl_pinconf_group_get
_tegra_xusb_padctl_pinconf_group_get:   ## @tegra_xusb_padctl_pinconf_group_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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	callq	_pinctrl_dev_get_drvdata
	movq	%rax, %rbx
	movq	(%r14), %rdi
	callq	_TEGRA_XUSB_PADCTL_UNPACK_PARAM
	cmpl	$128, %eax
	jne	LBB0_4
## %bb.1:
	movq	8(%rbx), %rax
	movq	(%rax), %r12
	movl	%r15d, %r15d
	cmpl	$0, (%r12,%r15,8)
	je	LBB0_2
## %bb.3:
	movl	4(%r12,%r15,8), %esi
	movq	%rbx, %rdi
	callq	_padctl_readl
	movl	%eax, %ebx
	movl	(%r12,%r15,8), %edi
	callq	_BIT
	xorl	%esi, %esi
	testl	%ebx, %eax
	sete	%sil
	movl	$128, %edi
	callq	_TEGRA_XUSB_PADCTL_PACK
	movq	%rax, (%r14)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_4:
	movl	(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_err
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_5:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid configuration parameter: %04x\n"

	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.no_dead_strip	_tegra_xusb_padctl_pinconf_group_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_xusb_padctl_pinconf_group_get
_tegra_xusb_padctl_pinconf_group_get:   ; @tegra_xusb_padctl_pinconf_group_get
	.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	x19, x2
	mov	x21, x1
	bl	_pinctrl_dev_get_drvdata
	mov	x20, x0
	ldr	x0, [x19]
	bl	_TEGRA_XUSB_PADCTL_UNPACK_PARAM
	cmp	w0, #128
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	mov	w9, w21
	add	x21, x8, x9, lsl #3
	ldr	w8, [x21]
	cbz	w8, LBB0_4
; %bb.2:
	ldr	w1, [x21, #4]
	mov	x0, x20
	bl	_padctl_readl
	mov	x20, x0
	ldr	w0, [x21]
	bl	_BIT
	tst	w0, w20
	cset	w1, eq
	mov	w0, #128
	bl	_TEGRA_XUSB_PADCTL_PACK
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_6
LBB0_3:
	mov	x2, x0
	ldr	w0, [x20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh2:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid configuration parameter: %04x\n"

	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.no_dead_strip	_tegra_xusb_padctl_pinconf_group_get
.subsections_via_symbols
