	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bttv_tea575x_get_pins
_bttv_tea575x_get_pins:                 ## @bttv_tea575x_get_pins
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	movl	(%rbx), %edi
	movl	12(%rbx), %r12d
	movl	16(%rbx), %r15d
	testl	%edi, %edi
	je	LBB0_2
## %bb.1:
	orl	4(%rbx), %edi
	xorl	%esi, %esi
	callq	_gpio_bits
	movl	$5, %edi
	callq	_udelay
LBB0_2:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_gpio_read
	movl	%eax, %r14d
	movl	(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_4
## %bb.3:
	orl	8(%rbx), %edi
	orl	4(%rbx), %edi
	movl	%edi, %esi
	callq	_gpio_bits
LBB0_4:
	btl	%r12d, %r14d
	movl	$0, %eax
	jae	LBB0_6
## %bb.5:
	movq	_TEA575X_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	btl	%r15d, %r14d
	jae	LBB0_8
## %bb.7:
	movq	_TEA575X_MOST@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r13d
LBB0_8:
	orl	%eax, %r13d
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TEA575X_DATA,4,2               ## @TEA575X_DATA
	.comm	_TEA575X_MOST,4,2               ## @TEA575X_MOST
	.no_dead_strip	_bttv_tea575x_get_pins
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bttv_tea575x_get_pins
_bttv_tea575x_get_pins:                 ; @bttv_tea575x_get_pins
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x22, [x0]
	ldp	w21, w20, [x22, #12]
	ldr	w8, [x22]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	w9, [x22, #4]
	orr	w0, w9, w8
	mov	w1, #0
	bl	_gpio_bits
	mov	w0, #5
	bl	_udelay
LBB0_2:
	bl	_gpio_read
	mov	x19, x0
	ldr	w8, [x22]
	cbz	w8, LBB0_4
; %bb.3:
	ldp	w10, w9, [x22, #4]
	orr	w8, w9, w8
	orr	w0, w8, w10
	mov	x1, x0
	bl	_gpio_bits
LBB0_4:
Lloh0:
	adrp	x8, _TEA575X_DATA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TEA575X_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsr	w9, w19, w21
	sbfx	w9, w9, #0, #1
	and	w8, w9, w8
Lloh3:
	adrp	x9, _TEA575X_MOST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TEA575X_MOST@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsr	w10, w19, w20
	sbfx	w10, w10, #0, #1
	and	w9, w10, w9
	orr	w0, w9, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TEA575X_DATA,4,2               ; @TEA575X_DATA
	.comm	_TEA575X_MOST,4,2               ; @TEA575X_MOST
	.no_dead_strip	_bttv_tea575x_get_pins
.subsections_via_symbols
