	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bttv_tea575x_set_pins
_bttv_tea575x_set_pins:                 ## @bttv_tea575x_set_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %r14
	movb	12(%r14), %r9b
	movb	16(%r14), %r8b
	movq	_TEA575X_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	andl	%esi, %edi
	movl	$1, %edx
	movl	%r9d, %ecx
	shll	%cl, %edx
	testl	%edi, %edi
	cmovel	%edi, %edx
	movq	_TEA575X_CLK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	movl	$1, %edi
	movl	%r8d, %ecx
	shll	%cl, %edi
	andl	%esi, %eax
	testl	%eax, %eax
	cmovnel	%edi, %eax
	movb	20(%r14), %cl
	movq	_TEA575X_WREN@GOTPCREL(%rip), %rbx
	andl	(%rbx), %esi
	movl	$1, %ebx
	shll	%cl, %ebx
	orl	%edx, %eax
	testl	%esi, %esi
	cmovnel	%ebx, %esi
	orl	%eax, %esi
	btsl	%r9d, %edi
	btsl	%ecx, %edi
	callq	_gpio_bits
	cmpl	$0, (%r14)
	je	LBB0_1
## %bb.2:
	movl	8(%r14), %edi
	orl	4(%r14), %edi
	xorl	%esi, %esi
	callq	_gpio_bits
	movl	$5, %edi
	callq	_udelay
	movl	4(%r14), %edi
	orl	(%r14), %edi
	orl	8(%r14), %edi
	movl	%edi, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_gpio_bits                      ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TEA575X_DATA,4,2               ## @TEA575X_DATA
	.comm	_TEA575X_CLK,4,2                ## @TEA575X_CLK
	.comm	_TEA575X_WREN,4,2               ## @TEA575X_WREN
	.no_dead_strip	_bttv_tea575x_set_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_set_pins
_bttv_tea575x_set_pins:                 ; @bttv_tea575x_set_pins
	.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
	ldr	x19, [x0]
	ldp	w8, w9, [x19, #12]
	ldr	w10, [x19, #20]
Lloh0:
	adrp	x11, _TEA575X_DATA@GOTPAGE
Lloh1:
	ldr	x11, [x11, _TEA575X_DATA@GOTPAGEOFF]
Lloh2:
	ldr	w11, [x11]
	mov	w12, #1
	lsl	w8, w12, w8
	tst	w11, w1
	csel	w11, wzr, w8, eq
Lloh3:
	adrp	x13, _TEA575X_CLK@GOTPAGE
Lloh4:
	ldr	x13, [x13, _TEA575X_CLK@GOTPAGEOFF]
Lloh5:
	ldr	w13, [x13]
	lsl	w9, w12, w9
	tst	w13, w1
	csel	w13, wzr, w9, eq
	orr	w11, w13, w11
Lloh6:
	adrp	x13, _TEA575X_WREN@GOTPAGE
Lloh7:
	ldr	x13, [x13, _TEA575X_WREN@GOTPAGEOFF]
Lloh8:
	ldr	w13, [x13]
	lsl	w10, w12, w10
	tst	w13, w1
	csel	w12, wzr, w10, eq
	orr	w1, w11, w12
	orr	w8, w9, w8
	orr	w0, w8, w10
	bl	_gpio_bits
	ldr	w8, [x19]
	cbz	w8, LBB0_2
; %bb.1:
	ldp	w8, w9, [x19, #4]
	orr	w0, w9, w8
	mov	w1, #0
	bl	_gpio_bits
	mov	w0, #5
	bl	_udelay
	ldp	w8, w9, [x19]
	orr	w8, w9, w8
	ldr	w9, [x19, #8]
	orr	w0, w8, w9
	mov	x1, x0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_gpio_bits
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TEA575X_DATA,4,2               ; @TEA575X_DATA
	.comm	_TEA575X_CLK,4,2                ; @TEA575X_CLK
	.comm	_TEA575X_WREN,4,2               ; @TEA575X_WREN
	.no_dead_strip	_bttv_tea575x_set_pins
.subsections_via_symbols
