	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function radeon_get_bus_rec_for_i2c_gpio
LCPI0_0:
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.long	1065353216                      ## 0x3f800000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_radeon_get_bus_rec_for_i2c_gpio:       ## @radeon_get_bus_rec_for_i2c_gpio
	.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	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%esi, %esi
	movl	$80, %edx
	callq	_memset
	movl	76(%r14), %edi
	callq	_le16_to_cpu
	shll	$2, %eax
	movl	%eax, (%rbx)
	movl	72(%r14), %edi
	callq	_le16_to_cpu
	shll	$2, %eax
	movl	%eax, 4(%rbx)
	movl	68(%r14), %edi
	callq	_le16_to_cpu
	shll	$2, %eax
	movl	%eax, 8(%rbx)
	movl	64(%r14), %edi
	callq	_le16_to_cpu
	shll	$2, %eax
	movl	%eax, 12(%rbx)
	movl	60(%r14), %edi
	callq	_le16_to_cpu
	shll	$2, %eax
	movl	%eax, 16(%rbx)
	movl	56(%r14), %edi
	callq	_le16_to_cpu
	shll	$2, %eax
	movl	%eax, 20(%rbx)
	movl	52(%r14), %edi
	callq	_le16_to_cpu
	shll	$2, %eax
	movl	%eax, 24(%rbx)
	movl	48(%r14), %edi
	callq	_le16_to_cpu
	shll	$2, %eax
	movl	%eax, 28(%rbx)
	movdqu	(%r14), %xmm0
	pslld	$23, %xmm0
	movdqa	LCPI0_0(%rip), %xmm1            ## xmm1 = [1065353216,1065353216,1065353216,1065353216]
	paddd	%xmm1, %xmm0
	cvttps2dq	%xmm0, %xmm0
	movups	%xmm0, 32(%rbx)
	movdqu	16(%r14), %xmm0
	pslld	$23, %xmm0
	paddd	%xmm1, %xmm0
	cvttps2dq	%xmm0, %xmm0
	movups	%xmm0, 48(%rbx)
	xorl	%eax, %eax
	cmpq	$0, 40(%r14)
	setne	%al
	movl	%eax, 64(%rbx)
	movl	32(%r14), %eax
	xorl	%ecx, %ecx
	cmpl	$160, %eax
	sete	%cl
	movl	%ecx, 68(%rbx)
	movl	%eax, 72(%rbx)
	xorl	%eax, %eax
	cmpl	$0, (%rbx)
	setne	%al
	movl	%eax, 76(%rbx)
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_radeon_get_bus_rec_for_i2c_gpio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function radeon_get_bus_rec_for_i2c_gpio
_radeon_get_bus_rec_for_i2c_gpio:       ; @radeon_get_bus_rec_for_i2c_gpio
	.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, x0
	mov	x19, x8
	mov	x0, x8
	mov	w1, #0
	mov	w2, #80
	bl	_memset
	ldr	w0, [x20, #76]
	bl	_le16_to_cpu
	lsl	w8, w0, #2
	str	w8, [x19]
	ldr	w0, [x20, #72]
	bl	_le16_to_cpu
	lsl	w8, w0, #2
	str	w8, [x19, #4]
	ldr	w0, [x20, #68]
	bl	_le16_to_cpu
	lsl	w8, w0, #2
	str	w8, [x19, #8]
	ldr	w0, [x20, #64]
	bl	_le16_to_cpu
	lsl	w8, w0, #2
	str	w8, [x19, #12]
	ldr	w0, [x20, #60]
	bl	_le16_to_cpu
	lsl	w8, w0, #2
	str	w8, [x19, #16]
	ldr	w0, [x20, #56]
	bl	_le16_to_cpu
	lsl	w8, w0, #2
	str	w8, [x19, #20]
	ldr	w0, [x20, #52]
	bl	_le16_to_cpu
	lsl	w8, w0, #2
	str	w8, [x19, #24]
	ldr	w0, [x20, #48]
	bl	_le16_to_cpu
	movi.4s	v0, #1
	ldp	q1, q2, [x20]
	ushl.4s	v1, v0, v1
	ushl.4s	v0, v0, v2
	lsl	w8, w0, #2
	str	w8, [x19, #28]
	stp	q1, q0, [x19, #32]
	ldr	x8, [x20, #40]
	cmp	x8, #0
	cset	w8, ne
	ldr	w9, [x20, #32]
	cmp	w9, #160
	cset	w10, eq
	stp	w8, w10, [x19, #64]
	ldr	w8, [x19]
	cmp	w8, #0
	cset	w8, ne
	stp	w9, w8, [x19, #72]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_radeon_get_bus_rec_for_i2c_gpio
.subsections_via_symbols
