	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function philips_tda827x_tuner_init
_philips_tda827x_tuner_init:            ## @philips_tda827x_tuner_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movq	(%rcx), %rbx
	movq	(%rax), %rax
	movl	(%rax), %eax
	cmpl	$1, %eax
	je	LBB0_1
## %bb.2:
	cmpl	$2, %eax
	jne	LBB0_5
## %bb.3:
	movl	$1, %r14d
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_4
LBB0_1:
	xorl	%r14d, %r14d
	leaq	L_.str(%rip), %rdi
LBB0_4:
	callq	_pr_debug
	movq	%rbx, %rdi
	movl	$21, %esi
	movl	%r14d, %edx
	callq	_saa7134_set_gpio
LBB0_5:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"setting GPIO21 to 0 (TV antenna?)\n"

L_.str.1:                               ## @.str.1
	.asciz	"setting GPIO21 to 1 (Radio antenna?)\n"

	.no_dead_strip	_philips_tda827x_tuner_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function philips_tda827x_tuner_init
_philips_tda827x_tuner_init:            ; @philips_tda827x_tuner_init
	.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
	ldp	x9, x8, [x0]
	ldr	x19, [x8]
	ldr	x8, [x9]
	ldr	w8, [x8]
	cmp	w8, #1
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #2
	b.ne	LBB0_5
; %bb.2:
	mov	w20, #1
Lloh0:
	adrp	x0, l_.str.1@PAGE
Lloh1:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:
	mov	w20, #0
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
LBB0_4:
	bl	_pr_debug
	mov	x0, x19
	mov	w1, #21
	mov	x2, x20
	bl	_saa7134_set_gpio
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"setting GPIO21 to 0 (TV antenna?)\n"

l_.str.1:                               ; @.str.1
	.asciz	"setting GPIO21 to 1 (Radio antenna?)\n"

	.no_dead_strip	_philips_tda827x_tuner_init
.subsections_via_symbols
