	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nmk_i2c_of_probe
_nmk_i2c_of_probe:                      ## @nmk_i2c_of_probe
	.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	%rsi, %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	callq	_of_property_read_u32
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	$100000, (%rbx)                 ## imm = 0x186A0
	jmp	LBB0_2
LBB0_3:
	cmpl	$100001, (%rbx)                 ## imm = 0x186A1
	jge	LBB0_4
LBB0_2:
	movq	_I2C_FREQ_MODE_STANDARD@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_4:
	movq	_I2C_FREQ_MODE_FAST@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movabsq	$34359738369, %rax              ## imm = 0x800000001
	movq	%rax, 4(%rbx)
	movl	$200, 12(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"clock-frequency"

	.comm	_I2C_FREQ_MODE_STANDARD,4,2     ## @I2C_FREQ_MODE_STANDARD
	.comm	_I2C_FREQ_MODE_FAST,4,2         ## @I2C_FREQ_MODE_FAST
	.no_dead_strip	_nmk_i2c_of_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function nmk_i2c_of_probe
lCPI0_0:
	.long	1                               ; 0x1
	.long	8                               ; 0x8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_nmk_i2c_of_probe:                      ; @nmk_i2c_of_probe
	.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	w20, #34464
	movk	w20, #1, lsl #16
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_of_property_read_u32
	cbz	x0, LBB0_2
; %bb.1:
	str	w20, [x19]
Lloh2:
	adrp	x8, _I2C_FREQ_MODE_STANDARD@GOTPAGE
Lloh3:
	ldr	x8, [x8, _I2C_FREQ_MODE_STANDARD@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	ldr	w8, [x19]
	add	w9, w20, #1
Lloh4:
	adrp	x10, _I2C_FREQ_MODE_FAST@GOTPAGE
Lloh5:
	ldr	x10, [x10, _I2C_FREQ_MODE_FAST@GOTPAGEOFF]
Lloh6:
	adrp	x11, _I2C_FREQ_MODE_STANDARD@GOTPAGE
Lloh7:
	ldr	x11, [x11, _I2C_FREQ_MODE_STANDARD@GOTPAGEOFF]
	cmp	w8, w9
	csel	x8, x11, x10, lt
LBB0_3:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, lCPI0_0@PAGE
Lloh9:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	stur	d0, [x19, #4]
	mov	w9, #200
	stp	w9, w8, [x19, #12]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdr	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"clock-frequency"

	.comm	_I2C_FREQ_MODE_STANDARD,4,2     ; @I2C_FREQ_MODE_STANDARD
	.comm	_I2C_FREQ_MODE_FAST,4,2         ; @I2C_FREQ_MODE_FAST
	.no_dead_strip	_nmk_i2c_of_probe
.subsections_via_symbols
