	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_fw_name
_get_fw_name:                           ## @get_fw_name
	.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
	callq	_i2c_get_clientdata
	movl	%eax, %edi
	callq	_to_state
	movq	%rax, %rbx
	movq	_firmware@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpb	$0, (%rax)
	jne	LBB0_7
## %bb.1:
	movq	%rbx, %rdi
	callq	_is_cx2388x
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_CX2388x_FIRMWARE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_3:
	movq	%rbx, %rdi
	callq	_is_cx231xx
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_CX231xx_FIRMWARE@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_CX25840_FIRMWARE@GOTPCREL(%rip), %rax
LBB0_6:
	movq	(%rax), %rax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_firmware,8,3                   ## @firmware
	.comm	_CX2388x_FIRMWARE,8,3           ## @CX2388x_FIRMWARE
	.comm	_CX231xx_FIRMWARE,8,3           ## @CX231xx_FIRMWARE
	.comm	_CX25840_FIRMWARE,8,3           ## @CX25840_FIRMWARE
	.no_dead_strip	_get_fw_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_fw_name
_get_fw_name:                           ; @get_fw_name
	.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
	bl	_i2c_get_clientdata
	bl	_to_state
	mov	x19, x0
Lloh0:
	adrp	x8, _firmware@GOTPAGE
Lloh1:
	ldr	x8, [x8, _firmware@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	ldrb	w8, [x0]
	cbnz	w8, LBB0_7
; %bb.1:
	mov	x0, x19
	bl	_is_cx2388x
	cbz	x0, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _CX2388x_FIRMWARE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CX2388x_FIRMWARE@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
	mov	x0, x19
	bl	_is_cx231xx
	cbz	x0, LBB0_5
; %bb.4:
Lloh5:
	adrp	x8, _CX231xx_FIRMWARE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CX231xx_FIRMWARE@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh7:
	adrp	x8, _CX25840_FIRMWARE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CX25840_FIRMWARE@GOTPAGEOFF]
LBB0_6:
	ldr	x0, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_firmware,8,3                   ; @firmware
	.comm	_CX2388x_FIRMWARE,8,3           ; @CX2388x_FIRMWARE
	.comm	_CX231xx_FIRMWARE,8,3           ; @CX231xx_FIRMWARE
	.comm	_CX25840_FIRMWARE,8,3           ; @CX25840_FIRMWARE
	.no_dead_strip	_get_fw_name
.subsections_via_symbols
