	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tegra_dpaux_pad_config
_tegra_dpaux_pad_config:                ## @tegra_dpaux_pad_config
	.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	%rdi, %r15
	cmpl	$128, %esi
	je	LBB0_4
## %bb.1:
	cmpl	$129, %esi
	je	LBB0_6
## %bb.2:
	cmpl	$130, %esi
	jne	LBB0_5
## %bb.3:
	movl	$2, %edi
	callq	_DPAUX_HYBRID_PADCTL_AUX_CMH
	movl	%eax, %r14d
	movl	$4, %edi
	callq	_DPAUX_HYBRID_PADCTL_AUX_DRVZ
	movl	%eax, %ebx
	orl	%r14d, %ebx
	movl	$24, %edi
	callq	_DPAUX_HYBRID_PADCTL_AUX_DRVI
	orl	%ebx, %eax
	movq	_DPAUX_HYBRID_PADCTL_AUX_INPUT_RCV@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_DPAUX_HYBRID_PADCTL_MODE_AUX@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
LBB0_4:
	movq	%r15, %rdi
	callq	_tegra_dpaux_pad_power_down
	jmp	LBB0_8
LBB0_6:
	movq	_DPAUX_HYBRID_PADCTL_I2C_SDA_INPUT_RCV@GOTPCREL(%rip), %rax
	movq	_DPAUX_HYBRID_PADCTL_I2C_SCL_INPUT_RCV@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r12d
	orl	(%rax), %r12d
	movl	$2, %edi
	callq	_DPAUX_HYBRID_PADCTL_AUX_CMH
	movl	%eax, %r14d
	movl	$4, %edi
	callq	_DPAUX_HYBRID_PADCTL_AUX_DRVZ
	movl	%eax, %ebx
	orl	%r14d, %ebx
	movl	$24, %edi
	callq	_DPAUX_HYBRID_PADCTL_AUX_DRVI
	orl	%ebx, %eax
	orl	%r12d, %eax
	movq	_DPAUX_HYBRID_PADCTL_MODE_I2C@GOTPCREL(%rip), %rcx
LBB0_7:
	orl	(%rcx), %eax
	movq	_DPAUX_HYBRID_PADCTL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_tegra_dpaux_writel
	movq	%r15, %rdi
	callq	_tegra_dpaux_pad_power_up
LBB0_8:
	xorl	%eax, %eax
	jmp	LBB0_9
LBB0_5:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DPAUX_HYBRID_PADCTL_AUX_INPUT_RCV,4,2 ## @DPAUX_HYBRID_PADCTL_AUX_INPUT_RCV
	.comm	_DPAUX_HYBRID_PADCTL_MODE_AUX,4,2 ## @DPAUX_HYBRID_PADCTL_MODE_AUX
	.comm	_DPAUX_HYBRID_PADCTL_I2C_SDA_INPUT_RCV,4,2 ## @DPAUX_HYBRID_PADCTL_I2C_SDA_INPUT_RCV
	.comm	_DPAUX_HYBRID_PADCTL_I2C_SCL_INPUT_RCV,4,2 ## @DPAUX_HYBRID_PADCTL_I2C_SCL_INPUT_RCV
	.comm	_DPAUX_HYBRID_PADCTL_MODE_I2C,4,2 ## @DPAUX_HYBRID_PADCTL_MODE_I2C
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.comm	_DPAUX_HYBRID_PADCTL,4,2        ## @DPAUX_HYBRID_PADCTL
	.no_dead_strip	_tegra_dpaux_pad_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tegra_dpaux_pad_config
_tegra_dpaux_pad_config:                ; @tegra_dpaux_pad_config
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cmp	w1, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w1, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w1, #130
	b.ne	LBB0_8
; %bb.3:
	mov	w0, #2
	bl	_DPAUX_HYBRID_PADCTL_AUX_CMH
	mov	x20, x0
	mov	w0, #4
	bl	_DPAUX_HYBRID_PADCTL_AUX_DRVZ
	orr	w20, w0, w20
	mov	w0, #24
	bl	_DPAUX_HYBRID_PADCTL_AUX_DRVI
	orr	w8, w20, w0
Lloh0:
	adrp	x9, _DPAUX_HYBRID_PADCTL_AUX_INPUT_RCV@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DPAUX_HYBRID_PADCTL_AUX_INPUT_RCV@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh3:
	adrp	x9, _DPAUX_HYBRID_PADCTL_MODE_AUX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DPAUX_HYBRID_PADCTL_MODE_AUX@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_tegra_dpaux_pad_power_down
	b	LBB0_7
LBB0_5:
Lloh5:
	adrp	x8, _DPAUX_HYBRID_PADCTL_I2C_SDA_INPUT_RCV@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DPAUX_HYBRID_PADCTL_I2C_SDA_INPUT_RCV@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _DPAUX_HYBRID_PADCTL_I2C_SCL_INPUT_RCV@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DPAUX_HYBRID_PADCTL_I2C_SCL_INPUT_RCV@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w20, w9, w8
	mov	w0, #2
	bl	_DPAUX_HYBRID_PADCTL_AUX_CMH
	orr	w20, w20, w0
	mov	w0, #4
	bl	_DPAUX_HYBRID_PADCTL_AUX_DRVZ
	orr	w20, w20, w0
	mov	w0, #24
	bl	_DPAUX_HYBRID_PADCTL_AUX_DRVI
	orr	w8, w20, w0
Lloh11:
	adrp	x9, _DPAUX_HYBRID_PADCTL_MODE_I2C@GOTPAGE
Lloh12:
	ldr	x9, [x9, _DPAUX_HYBRID_PADCTL_MODE_I2C@GOTPAGEOFF]
LBB0_6:
	ldr	w9, [x9]
	orr	w1, w8, w9
Lloh13:
	adrp	x8, _DPAUX_HYBRID_PADCTL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DPAUX_HYBRID_PADCTL@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_tegra_dpaux_writel
	mov	x0, x19
	bl	_tegra_dpaux_pad_power_up
LBB0_7:
	mov	w0, #0
	b	LBB0_9
LBB0_8:
Lloh16:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_DPAUX_HYBRID_PADCTL_AUX_INPUT_RCV,4,2 ; @DPAUX_HYBRID_PADCTL_AUX_INPUT_RCV
	.comm	_DPAUX_HYBRID_PADCTL_MODE_AUX,4,2 ; @DPAUX_HYBRID_PADCTL_MODE_AUX
	.comm	_DPAUX_HYBRID_PADCTL_I2C_SDA_INPUT_RCV,4,2 ; @DPAUX_HYBRID_PADCTL_I2C_SDA_INPUT_RCV
	.comm	_DPAUX_HYBRID_PADCTL_I2C_SCL_INPUT_RCV,4,2 ; @DPAUX_HYBRID_PADCTL_I2C_SCL_INPUT_RCV
	.comm	_DPAUX_HYBRID_PADCTL_MODE_I2C,4,2 ; @DPAUX_HYBRID_PADCTL_MODE_I2C
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.comm	_DPAUX_HYBRID_PADCTL,4,2        ; @DPAUX_HYBRID_PADCTL
	.no_dead_strip	_tegra_dpaux_pad_config
.subsections_via_symbols
