	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nvkm_i2c_pad_mode_locked
_nvkm_i2c_pad_mode_locked:              ## @nvkm_i2c_pad_mode_locked
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	_NVKM_I2C_PAD_AUX@GOTPCREL(%rip), %rax
	movq	_NVKM_I2C_PAD_I2C@GOTPCREL(%rip), %rcx
	cmpl	%esi, (%rcx)
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str.3(%rip), %rsi
	cmoveq	%rcx, %rsi
	cmpl	%r14d, (%rax)
	movq	%rdi, %rbx
	leaq	L_.str.1(%rip), %rdx
	cmovneq	%rsi, %rdx
	leaq	L_.str(%rip), %rsi
	callq	_PAD_TRACE
	movq	(%rbx), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-> %s"

	.comm	_NVKM_I2C_PAD_AUX,4,2           ## @NVKM_I2C_PAD_AUX
L_.str.1:                               ## @.str.1
	.asciz	"aux"

	.comm	_NVKM_I2C_PAD_I2C,4,2           ## @NVKM_I2C_PAD_I2C
L_.str.2:                               ## @.str.2
	.asciz	"i2c"

L_.str.3:                               ## @.str.3
	.asciz	"off"

	.no_dead_strip	_nvkm_i2c_pad_mode_locked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nvkm_i2c_pad_mode_locked
_nvkm_i2c_pad_mode_locked:              ; @nvkm_i2c_pad_mode_locked
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _NVKM_I2C_PAD_AUX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NVKM_I2C_PAD_AUX@GOTPAGEOFF]
Lloh2:
	adrp	x9, _NVKM_I2C_PAD_I2C@GOTPAGE
Lloh3:
	ldr	x9, [x9, _NVKM_I2C_PAD_I2C@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, l_.str.3@PAGE
Lloh7:
	add	x10, x10, l_.str.3@PAGEOFF
Lloh8:
	adrp	x11, l_.str.2@PAGE
Lloh9:
	add	x11, x11, l_.str.2@PAGEOFF
	cmp	w9, w1
	csel	x9, x11, x10, eq
Lloh10:
	adrp	x10, l_.str.1@PAGE
Lloh11:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w8, w1
	csel	x2, x10, x9, eq
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_PAD_TRACE
	ldr	x8, [x20]
	ldr	x2, [x8]
	cbz	x2, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x2
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-> %s"

	.comm	_NVKM_I2C_PAD_AUX,4,2           ; @NVKM_I2C_PAD_AUX
l_.str.1:                               ; @.str.1
	.asciz	"aux"

	.comm	_NVKM_I2C_PAD_I2C,4,2           ; @NVKM_I2C_PAD_I2C
l_.str.2:                               ; @.str.2
	.asciz	"i2c"

l_.str.3:                               ; @.str.3
	.asciz	"off"

	.no_dead_strip	_nvkm_i2c_pad_mode_locked
.subsections_via_symbols
