	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tea5767_standby
_tea5767_standby:                       ## @tea5767_standby
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	(%rdi), %rdi
	movw	$27419, -5(%rbp)                ## imm = 0x6B1B
	movq	_TEA5767_PORT1_HIGH@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	_TEA5767_HIGH_CUT_CTRL@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movq	_TEA5767_PORT2_HIGH@GOTPCREL(%rip), %rdx
	orb	(%rdx), %cl
	movb	%al, -3(%rbp)
	movq	_TEA5767_ST_NOISE_CTL@GOTPCREL(%rip), %rax
	orb	(%rax), %cl
	movq	_TEA5767_JAPAN_BAND@GOTPCREL(%rip), %rax
	orb	(%rax), %cl
	movq	_TEA5767_STDBY@GOTPCREL(%rip), %rax
	orb	(%rax), %cl
	movb	%cl, -2(%rbp)
	movb	$0, -1(%rbp)
	leaq	-5(%rbp), %rsi
	movl	$5, %edx
	callq	_tuner_i2c_xfer_send
	cmpl	$5, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_tuner_warn
LBB0_2:
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TEA5767_PORT1_HIGH,1,0         ## @TEA5767_PORT1_HIGH
	.comm	_TEA5767_PORT2_HIGH,1,0         ## @TEA5767_PORT2_HIGH
	.comm	_TEA5767_HIGH_CUT_CTRL,1,0      ## @TEA5767_HIGH_CUT_CTRL
	.comm	_TEA5767_ST_NOISE_CTL,1,0       ## @TEA5767_ST_NOISE_CTL
	.comm	_TEA5767_JAPAN_BAND,1,0         ## @TEA5767_JAPAN_BAND
	.comm	_TEA5767_STDBY,1,0              ## @TEA5767_STDBY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"i2c i/o error: rc == %d (should be 5)\n"

	.no_dead_strip	_tea5767_standby
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tea5767_standby
_tea5767_standby:                       ; @tea5767_standby
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	ldr	x0, [x0]
	mov	w8, #27419
Lloh0:
	adrp	x9, _TEA5767_PORT1_HIGH@GOTPAGE
Lloh1:
	ldr	x9, [x9, _TEA5767_PORT1_HIGH@GOTPAGEOFF]
	sturh	w8, [x29, #-5]
	ldrb	w8, [x9]
	sturb	w8, [x29, #-3]
Lloh2:
	adrp	x8, _TEA5767_PORT2_HIGH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TEA5767_PORT2_HIGH@GOTPAGEOFF]
	ldrb	w8, [x8]
Lloh4:
	adrp	x9, _TEA5767_HIGH_CUT_CTRL@GOTPAGE
Lloh5:
	ldr	x9, [x9, _TEA5767_HIGH_CUT_CTRL@GOTPAGEOFF]
	ldrb	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _TEA5767_ST_NOISE_CTL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TEA5767_ST_NOISE_CTL@GOTPAGEOFF]
	ldrb	w9, [x9]
	orr	w8, w8, w9
Lloh8:
	adrp	x9, _TEA5767_JAPAN_BAND@GOTPAGE
Lloh9:
	ldr	x9, [x9, _TEA5767_JAPAN_BAND@GOTPAGEOFF]
	ldrb	w9, [x9]
	orr	w8, w8, w9
Lloh10:
	adrp	x9, _TEA5767_STDBY@GOTPAGE
Lloh11:
	ldr	x9, [x9, _TEA5767_STDBY@GOTPAGEOFF]
	ldrb	w9, [x9]
	orr	w8, w8, w9
	sturb	w8, [x29, #-2]
	sturb	wzr, [x29, #-1]
	sub	x1, x29, #5
	mov	w2, #5
	bl	_tuner_i2c_xfer_send
	cmp	w0, #5
	b.eq	LBB0_2
; %bb.1:
	mov	x1, x0
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_tuner_warn
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_TEA5767_PORT1_HIGH,1,0         ; @TEA5767_PORT1_HIGH
	.comm	_TEA5767_PORT2_HIGH,1,0         ; @TEA5767_PORT2_HIGH
	.comm	_TEA5767_HIGH_CUT_CTRL,1,0      ; @TEA5767_HIGH_CUT_CTRL
	.comm	_TEA5767_ST_NOISE_CTL,1,0       ; @TEA5767_ST_NOISE_CTL
	.comm	_TEA5767_JAPAN_BAND,1,0         ; @TEA5767_JAPAN_BAND
	.comm	_TEA5767_STDBY,1,0              ; @TEA5767_STDBY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"i2c i/o error: rc == %d (should be 5)\n"

	.no_dead_strip	_tea5767_standby
.subsections_via_symbols
