	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_g84_sensor_setup               ## -- Begin function g84_sensor_setup
	.p2align	4, 0x90
_g84_sensor_setup:                      ## @g84_sensor_setup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rbx
	movl	(%rbx), %edi
	movl	$424, %esi                      ## imm = 0x1A8
	callq	_nvkm_fuse_read
	cmpl	$1, %eax
	jne	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	movl	$131080, %esi                   ## imm = 0x20008
	movl	$-2147450880, %edx              ## imm = 0x80008000
	movl	$-2147483648, %ecx              ## imm = 0x80000000
	callq	_nvkm_mask
	movq	%rbx, %rdi
	movl	$131084, %esi                   ## imm = 0x2000C
	movl	$-2147483645, %edx              ## imm = 0x80000003
	xorl	%ecx, %ecx
	callq	_nvkm_mask
	movl	$20, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mdelay                         ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_g84_sensor_setup               ; -- Begin function g84_sensor_setup
	.p2align	2
_g84_sensor_setup:                      ; @g84_sensor_setup
	.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
	ldr	x19, [x0]
	ldr	w0, [x19]
	mov	w1, #424
	bl	_nvkm_fuse_read
	cmp	w0, #1
	b.ne	LBB0_2
; %bb.1:
	mov	w20, #8
	movk	w20, #2, lsl #16
	mov	x0, x19
	mov	w1, #8
	movk	w1, #2, lsl #16
	mov	w2, #-2147450880
	mov	w3, #-2147483648
	bl	_nvkm_mask
	orr	w1, w20, #0x4
	mov	x0, x19
	mov	w2, #-2147483645
	mov	w3, #0
	bl	_nvkm_mask
	mov	w0, #20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mdelay
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
