	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function select_col
LCPI0_0:
	.long	8                               ## 0x8
	.long	4                               ## 0x4
	.long	2                               ## 0x2
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_select_col:                            ## @select_col
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PD4@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %esi
	shll	%cl, %esi
	movq	_PD3@GOTPCREL(%rip), %rax
	movb	(%rax), %dl
	btsl	%edx, %esi
	movq	_PD5@GOTPCREL(%rip), %rax
	movb	(%rax), %r11b
	btsl	%r11d, %esi
	movq	_PD6@GOTPCREL(%rip), %rax
	movb	(%rax), %r10b
	btsl	%r10d, %esi
	movq	_PD7@GOTPCREL(%rip), %rax
	movb	(%rax), %r9b
	btsl	%r9d, %esi
	movq	_DDRD@GOTPCREL(%rip), %rax
	orl	%esi, (%rax)
	movq	_PORTD@GOTPCREL(%rip), %r8
	movl	(%r8), %esi
	btrl	%edx, %esi
	movd	%edi, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	pand	LCPI0_0(%rip), %xmm0
	movl	%esi, %eax
	btrl	%ecx, %eax
	btsl	%ecx, %esi
	pxor	%xmm1, %xmm1
	pcmpeqd	%xmm0, %xmm1
	movmskps	%xmm1, %ecx
	testb	$8, %cl
	cmovnel	%eax, %esi
	movl	%esi, %eax
	btrl	%r11d, %eax
	btsl	%r11d, %esi
	testb	$4, %cl
	cmovnel	%eax, %esi
	movl	%esi, %eax
	btrl	%r10d, %eax
	btsl	%r10d, %esi
	testb	$2, %cl
	cmovnel	%eax, %esi
	movl	%esi, %eax
	btrl	%r9d, %eax
	btsl	%r9d, %esi
	testb	$1, %cl
	cmovnel	%eax, %esi
	movl	%esi, (%r8)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PD3,4,2                        ## @PD3
	.comm	_PD4,4,2                        ## @PD4
	.comm	_PD5,4,2                        ## @PD5
	.comm	_PD6,4,2                        ## @PD6
	.comm	_PD7,4,2                        ## @PD7
	.comm	_DDRD,4,2                       ## @DDRD
	.comm	_PORTD,4,2                      ## @PORTD
	.no_dead_strip	_select_col
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function select_col
_select_col:                            ; @select_col
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PD3@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PD3@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w8, w9, w8
Lloh3:
	adrp	x10, _PD4@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PD4@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	lsl	w10, w9, w10
	orr	w11, w10, w8
Lloh6:
	adrp	x12, _PD5@GOTPAGE
Lloh7:
	ldr	x12, [x12, _PD5@GOTPAGEOFF]
Lloh8:
	ldr	w12, [x12]
	lsl	w12, w9, w12
	orr	w11, w11, w12
Lloh9:
	adrp	x13, _PD6@GOTPAGE
Lloh10:
	ldr	x13, [x13, _PD6@GOTPAGEOFF]
Lloh11:
	ldr	w13, [x13]
	lsl	w13, w9, w13
Lloh12:
	adrp	x14, _PD7@GOTPAGE
Lloh13:
	ldr	x14, [x14, _PD7@GOTPAGEOFF]
	orr	w11, w11, w13
Lloh14:
	ldr	w14, [x14]
	lsl	w9, w9, w14
	orr	w11, w11, w9
Lloh15:
	adrp	x14, _DDRD@GOTPAGE
Lloh16:
	ldr	x14, [x14, _DDRD@GOTPAGEOFF]
	ldr	w15, [x14]
	orr	w11, w11, w15
	str	w11, [x14]
Lloh17:
	adrp	x11, _PORTD@GOTPAGE
Lloh18:
	ldr	x11, [x11, _PORTD@GOTPAGEOFF]
	ldr	w14, [x11]
	bic	w8, w14, w8
	bic	w14, w8, w10
	orr	w8, w8, w10
	tst	w0, #0x1
	csel	w8, w14, w8, eq
	bic	w10, w8, w12
	orr	w8, w8, w12
	tst	w0, #0x2
	csel	w8, w10, w8, eq
	bic	w10, w8, w13
	orr	w8, w8, w13
	tst	w0, #0x4
	csel	w8, w10, w8, eq
	bic	w10, w8, w9
	orr	w8, w8, w9
	tst	w0, #0x8
	csel	w8, w10, w8, eq
	str	w8, [x11]
	ret
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PD3,4,2                        ; @PD3
	.comm	_PD4,4,2                        ; @PD4
	.comm	_PD5,4,2                        ; @PD5
	.comm	_PD6,4,2                        ; @PD6
	.comm	_PD7,4,2                        ; @PD7
	.comm	_DDRD,4,2                       ; @DDRD
	.comm	_PORTD,4,2                      ; @PORTD
	.no_dead_strip	_select_col
.subsections_via_symbols
