	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function enable_xmit
_enable_xmit:                           ## @enable_xmit
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_FM_POW_ENB_EVENT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	movq	_INT_MASK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_REG_WR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	$0, (%rsp)
	leaq	-40(%rbp), %rcx
	movl	$8, %r8d
	xorl	%r9d, %r9d
	callq	_fmc_send_cmd
	testl	%eax, %eax
	js	LBB0_5
## %bb.1:
	movq	%r14, -40(%rbp)
	movq	_POWER_ENB_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%rbx), %edx
	movq	$0, (%rsp)
	leaq	-40(%rbp), %rcx
	movq	%r15, %rdi
	movl	$8, %r8d
	xorl	%r9d, %r9d
	callq	_fmc_send_cmd
	testl	%eax, %eax
	js	LBB0_5
## %bb.2:
	leaq	4(%r15), %rbx
	movq	%rbx, %rdi
	callq	_init_completion
	movq	_FM_DRV_TX_TIMEOUT@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_wait_for_completion_timeout
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	_FM_CORE_TX_XMITING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_set_bit
	movq	%r14, 8(%r15)
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_3:
	movl	(%r12), %edi
	callq	_jiffies_to_msecs
	cltq
	imulq	$274877907, %rax, %rsi          ## imm = 0x10624DD3
	movq	%rsi, %rax
	shrq	$63, %rax
	sarq	$38, %rsi
	addl	%eax, %esi
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_fmerr
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FM_POW_ENB_EVENT,8,3           ## @FM_POW_ENB_EVENT
	.comm	_INT_MASK_SET,4,2               ## @INT_MASK_SET
	.comm	_REG_WR,4,2                     ## @REG_WR
	.comm	_POWER_ENB_SET,4,2              ## @POWER_ENB_SET
	.comm	_FM_DRV_TX_TIMEOUT,4,2          ## @FM_DRV_TX_TIMEOUT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Timeout(%d sec),didn't get tune ended interrupt\n"

	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.comm	_FM_CORE_TX_XMITING,4,2         ## @FM_CORE_TX_XMITING
	.no_dead_strip	_enable_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function enable_xmit
_enable_xmit:                           ; @enable_xmit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _FM_POW_ENB_EVENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FM_POW_ENB_EVENT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
Lloh3:
	adrp	x8, _INT_MASK_SET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INT_MASK_SET@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x21, _REG_WR@GOTPAGE
Lloh7:
	ldr	x21, [x21, _REG_WR@GOTPAGEOFF]
	ldr	w2, [x21]
	add	x3, sp, #8
	mov	w4, #8
	mov	x5, #0
	mov	x6, #0
	bl	_fmc_send_cmd
	tbnz	w0, #31, LBB0_5
; %bb.1:
	str	x19, [sp, #8]
Lloh8:
	adrp	x8, _POWER_ENB_SET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _POWER_ENB_SET@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	ldr	w2, [x21]
	add	x3, sp, #8
	mov	x0, x20
	mov	w4, #8
	mov	x5, #0
	mov	x6, #0
	bl	_fmc_send_cmd
	tbnz	w0, #31, LBB0_5
; %bb.2:
	add	x21, x20, #4
	mov	x0, x21
	bl	_init_completion
Lloh11:
	adrp	x22, _FM_DRV_TX_TIMEOUT@GOTPAGE
Lloh12:
	ldr	x22, [x22, _FM_DRV_TX_TIMEOUT@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x21
	bl	_wait_for_completion_timeout
	cbz	x0, LBB0_4
; %bb.3:
Lloh13:
	adrp	x8, _FM_CORE_TX_XMITING@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FM_CORE_TX_XMITING@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_set_bit
	mov	w0, #0
	str	x19, [x20, #8]
	b	LBB0_5
LBB0_4:
	ldr	w0, [x22]
	bl	_jiffies_to_msecs
	mov	w8, #19923
	movk	w8, #4194, lsl #16
	smull	x8, w0, w8
	lsr	x9, x8, #63
	asr	x8, x8, #38
	add	w1, w8, w9
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_fmerr
Lloh18:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_FM_POW_ENB_EVENT,8,3           ; @FM_POW_ENB_EVENT
	.comm	_INT_MASK_SET,4,2               ; @INT_MASK_SET
	.comm	_REG_WR,4,2                     ; @REG_WR
	.comm	_POWER_ENB_SET,4,2              ; @POWER_ENB_SET
	.comm	_FM_DRV_TX_TIMEOUT,4,2          ; @FM_DRV_TX_TIMEOUT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Timeout(%d sec),didn't get tune ended interrupt\n"

	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.comm	_FM_CORE_TX_XMITING,4,2         ; @FM_CORE_TX_XMITING
	.no_dead_strip	_enable_xmit
.subsections_via_symbols
