	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rfd77402_init
_rfd77402_init:                         ## @rfd77402_init
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	movq	_RFD77402_CMD_STANDBY@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_RFD77402_STATUS_STANDBY@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	callq	_rfd77402_set_state
	testl	%eax, %eax
	js	LBB0_11
## %bb.1:
	movl	(%r13), %edi
	movq	_RFD77402_ICSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RFD77402_ICSR_INT_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_i2c_smbus_write_byte_data
	testl	%eax, %eax
	js	LBB0_11
## %bb.2:
	movl	(%r13), %edi
	movq	_RFD77402_I2C_ADDR_INCR@GOTPCREL(%rip), %rax
	movq	_RFD77402_I2C_DATA_INCR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_RFD77402_I2C_INIT_CFG@GOTPCREL(%rip), %rax
	movq	_RFD77402_I2C_HOST_DEBUG@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_RFD77402_I2C_MCPU_DEBUG@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	callq	_i2c_smbus_write_word_data
	testl	%eax, %eax
	js	LBB0_11
## %bb.3:
	movl	(%r13), %edi
	movq	_RFD77402_PMU_CFG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	$1280, %edx                     ## imm = 0x500
	callq	_i2c_smbus_write_word_data
	testl	%eax, %eax
	js	LBB0_11
## %bb.4:
	movq	_RFD77402_CMD_MCPU_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RFD77402_STATUS_MCPU_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_rfd77402_set_state
	testl	%eax, %eax
	js	LBB0_11
## %bb.5:
	movl	(%r13), %edi
	movl	(%rbx), %esi
	movl	$1536, %edx                     ## imm = 0x600
	callq	_i2c_smbus_write_word_data
	testl	%eax, %eax
	js	LBB0_11
## %bb.6:
	movq	_RFD77402_CMD_MCPU_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RFD77402_STATUS_MCPU_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	callq	_rfd77402_set_state
	testl	%eax, %eax
	js	LBB0_11
## %bb.7:
	movq	_rf77402_tof_config@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_12
## %bb.8:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movq	(%r12), %rax
	movl	(%rax,%rbx,8), %edx
	movl	4(%rax,%rbx,8), %esi
	callq	_i2c_smbus_write_word_data
	testl	%eax, %eax
	js	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_10 Depth=1
	incq	%rbx
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_10
LBB0_12:
	movl	(%r14), %esi
	movl	(%r15), %edx
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rfd77402_set_state             ## TAILCALL
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RFD77402_CMD_STANDBY,4,2       ## @RFD77402_CMD_STANDBY
	.comm	_RFD77402_STATUS_STANDBY,4,2    ## @RFD77402_STATUS_STANDBY
	.comm	_RFD77402_ICSR,4,2              ## @RFD77402_ICSR
	.comm	_RFD77402_ICSR_INT_MODE,4,2     ## @RFD77402_ICSR_INT_MODE
	.comm	_RFD77402_I2C_INIT_CFG,4,2      ## @RFD77402_I2C_INIT_CFG
	.comm	_RFD77402_I2C_ADDR_INCR,4,2     ## @RFD77402_I2C_ADDR_INCR
	.comm	_RFD77402_I2C_DATA_INCR,4,2     ## @RFD77402_I2C_DATA_INCR
	.comm	_RFD77402_I2C_HOST_DEBUG,4,2    ## @RFD77402_I2C_HOST_DEBUG
	.comm	_RFD77402_I2C_MCPU_DEBUG,4,2    ## @RFD77402_I2C_MCPU_DEBUG
	.comm	_RFD77402_PMU_CFG,4,2           ## @RFD77402_PMU_CFG
	.comm	_RFD77402_CMD_MCPU_OFF,4,2      ## @RFD77402_CMD_MCPU_OFF
	.comm	_RFD77402_STATUS_MCPU_OFF,4,2   ## @RFD77402_STATUS_MCPU_OFF
	.comm	_RFD77402_CMD_MCPU_ON,4,2       ## @RFD77402_CMD_MCPU_ON
	.comm	_RFD77402_STATUS_MCPU_ON,4,2    ## @RFD77402_STATUS_MCPU_ON
	.comm	_rf77402_tof_config,8,3         ## @rf77402_tof_config
	.no_dead_strip	_rfd77402_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rfd77402_init
_rfd77402_init:                         ; @rfd77402_init
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x20, _RFD77402_CMD_STANDBY@GOTPAGE
Lloh1:
	ldr	x20, [x20, _RFD77402_CMD_STANDBY@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh2:
	adrp	x21, _RFD77402_STATUS_STANDBY@GOTPAGE
Lloh3:
	ldr	x21, [x21, _RFD77402_STATUS_STANDBY@GOTPAGEOFF]
	ldr	w2, [x21]
	bl	_rfd77402_set_state
	tbnz	w0, #31, LBB0_12
; %bb.1:
	ldr	w0, [x19]
Lloh4:
	adrp	x8, _RFD77402_ICSR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RFD77402_ICSR@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _RFD77402_ICSR_INT_MODE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _RFD77402_ICSR_INT_MODE@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	bl	_i2c_smbus_write_byte_data
	tbnz	w0, #31, LBB0_12
; %bb.2:
	ldr	w0, [x19]
Lloh10:
	adrp	x8, _RFD77402_I2C_INIT_CFG@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RFD77402_I2C_INIT_CFG@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _RFD77402_I2C_ADDR_INCR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _RFD77402_I2C_ADDR_INCR@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _RFD77402_I2C_DATA_INCR@GOTPAGE
Lloh17:
	ldr	x9, [x9, _RFD77402_I2C_DATA_INCR@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh19:
	adrp	x9, _RFD77402_I2C_HOST_DEBUG@GOTPAGE
Lloh20:
	ldr	x9, [x9, _RFD77402_I2C_HOST_DEBUG@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh22:
	adrp	x9, _RFD77402_I2C_MCPU_DEBUG@GOTPAGE
Lloh23:
	ldr	x9, [x9, _RFD77402_I2C_MCPU_DEBUG@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w2, w8, w9
	bl	_i2c_smbus_write_word_data
	tbnz	w0, #31, LBB0_12
; %bb.3:
	ldr	w0, [x19]
Lloh25:
	adrp	x22, _RFD77402_PMU_CFG@GOTPAGE
Lloh26:
	ldr	x22, [x22, _RFD77402_PMU_CFG@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	w2, #1280
	bl	_i2c_smbus_write_word_data
	tbnz	w0, #31, LBB0_12
; %bb.4:
Lloh27:
	adrp	x8, _RFD77402_CMD_MCPU_OFF@GOTPAGE
Lloh28:
	ldr	x8, [x8, _RFD77402_CMD_MCPU_OFF@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x8, _RFD77402_STATUS_MCPU_OFF@GOTPAGE
Lloh31:
	ldr	x8, [x8, _RFD77402_STATUS_MCPU_OFF@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_rfd77402_set_state
	tbnz	w0, #31, LBB0_12
; %bb.5:
	ldr	w0, [x19]
	ldr	w1, [x22]
	mov	w2, #1536
	bl	_i2c_smbus_write_word_data
	tbnz	w0, #31, LBB0_12
; %bb.6:
Lloh33:
	adrp	x8, _RFD77402_CMD_MCPU_ON@GOTPAGE
Lloh34:
	ldr	x8, [x8, _RFD77402_CMD_MCPU_ON@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
Lloh36:
	adrp	x8, _RFD77402_STATUS_MCPU_ON@GOTPAGE
Lloh37:
	ldr	x8, [x8, _RFD77402_STATUS_MCPU_ON@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_rfd77402_set_state
	tbnz	w0, #31, LBB0_12
; %bb.7:
Lloh39:
	adrp	x22, _rf77402_tof_config@GOTPAGE
Lloh40:
	ldr	x22, [x22, _rf77402_tof_config@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_11
; %bb.8:
	mov	x23, #0
	mov	x24, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	ldr	x8, [x22]
	add	x8, x8, x23
	ldp	w2, w1, [x8]
	bl	_i2c_smbus_write_word_data
	tbnz	w0, #31, LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x24, x24, #1
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	add	x23, x23, #8
	cmp	x24, w0, sxtw
	b.lt	LBB0_9
LBB0_11:
	ldr	w1, [x20]
	ldr	w2, [x21]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_rfd77402_set_state
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_RFD77402_CMD_STANDBY,4,2       ; @RFD77402_CMD_STANDBY
	.comm	_RFD77402_STATUS_STANDBY,4,2    ; @RFD77402_STATUS_STANDBY
	.comm	_RFD77402_ICSR,4,2              ; @RFD77402_ICSR
	.comm	_RFD77402_ICSR_INT_MODE,4,2     ; @RFD77402_ICSR_INT_MODE
	.comm	_RFD77402_I2C_INIT_CFG,4,2      ; @RFD77402_I2C_INIT_CFG
	.comm	_RFD77402_I2C_ADDR_INCR,4,2     ; @RFD77402_I2C_ADDR_INCR
	.comm	_RFD77402_I2C_DATA_INCR,4,2     ; @RFD77402_I2C_DATA_INCR
	.comm	_RFD77402_I2C_HOST_DEBUG,4,2    ; @RFD77402_I2C_HOST_DEBUG
	.comm	_RFD77402_I2C_MCPU_DEBUG,4,2    ; @RFD77402_I2C_MCPU_DEBUG
	.comm	_RFD77402_PMU_CFG,4,2           ; @RFD77402_PMU_CFG
	.comm	_RFD77402_CMD_MCPU_OFF,4,2      ; @RFD77402_CMD_MCPU_OFF
	.comm	_RFD77402_STATUS_MCPU_OFF,4,2   ; @RFD77402_STATUS_MCPU_OFF
	.comm	_RFD77402_CMD_MCPU_ON,4,2       ; @RFD77402_CMD_MCPU_ON
	.comm	_RFD77402_STATUS_MCPU_ON,4,2    ; @RFD77402_STATUS_MCPU_ON
	.comm	_rf77402_tof_config,8,3         ; @rf77402_tof_config
	.no_dead_strip	_rfd77402_init
.subsections_via_symbols
