	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_adv748x_tx_power               ## -- Begin function adv748x_tx_power
	.p2align	4, 0x90
_adv748x_tx_power:                      ## @adv748x_tx_power
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_is_tx_enabled
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	_ADV748X_CSI_FS_AS_LS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_tx_read
	testl	%eax, %eax
	js	LBB0_2
## %bb.4:
	testl	%r14d, %r14d
	setne	%cl
	movq	_ADV748X_CSI_FS_AS_LS_UNKNOWN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%eax, %edx
	setne	%al
	andb	%cl, %al
	movzbl	%al, %edi
	leaq	L_.str(%rip), %rsi
	callq	_WARN_ONCE
	movq	%rbx, %rdi
	testl	%r14d, %r14d
	je	LBB0_5
## %bb.6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_adv748x_power_up_tx            ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_adv748x_power_down_tx          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ADV748X_CSI_FS_AS_LS,4,2       ## @ADV748X_CSI_FS_AS_LS
	.comm	_ADV748X_CSI_FS_AS_LS_UNKNOWN,4,2 ## @ADV748X_CSI_FS_AS_LS_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Enabling with unknown bit set"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_adv748x_tx_power               ; -- Begin function adv748x_tx_power
	.p2align	2
_adv748x_tx_power:                      ; @adv748x_tx_power
	.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	x20, x1
	mov	x19, x0
	bl	_is_tx_enabled
	cbz	w0, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _ADV748X_CSI_FS_AS_LS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADV748X_CSI_FS_AS_LS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tx_read
	tbnz	w0, #31, LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _ADV748X_CSI_FS_AS_LS_UNKNOWN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ADV748X_CSI_FS_AS_LS_UNKNOWN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	ccmp	w20, #0, #4, ne
	cset	w0, ne
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_WARN_ONCE
	mov	x0, x19
	cbz	w20, LBB0_5
; %bb.3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_adv748x_power_up_tx
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_adv748x_power_down_tx
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ADV748X_CSI_FS_AS_LS,4,2       ; @ADV748X_CSI_FS_AS_LS
	.comm	_ADV748X_CSI_FS_AS_LS_UNKNOWN,4,2 ; @ADV748X_CSI_FS_AS_LS_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Enabling with unknown bit set"

.subsections_via_symbols
