	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function select_row
_select_row:                            ## @select_row
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PB3@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %eax
	shll	%cl, %eax
	testb	$1, %dil
	jne	LBB0_1
## %bb.2:
	notl	%eax
	movq	_PORTB@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	jmp	LBB0_3
LBB0_1:
	movq	_PORTB@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
LBB0_3:
	movq	_PB2@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%eax, %edx
	btrl	%ecx, %edx
	btsl	%ecx, %eax
	testb	$2, %dil
	cmovel	%edx, %eax
	movq	_PB1@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%eax, %edx
	btrl	%ecx, %edx
	btsl	%ecx, %eax
	testb	$4, %dil
	cmovel	%edx, %eax
	movq	_PORTB@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PB3,4,2                        ## @PB3
	.comm	_PORTB,4,2                      ## @PORTB
	.comm	_PB2,4,2                        ## @PB2
	.comm	_PB1,4,2                        ## @PB1
	.no_dead_strip	_select_row
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function select_row
_select_row:                            ; @select_row
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _PB3@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PB3@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	w9, #1
	lsl	w9, w9, w8
Lloh3:
	adrp	x8, _PORTB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PORTB@GOTPAGEOFF]
	tbnz	w0, #0, LBB0_2
; %bb.1:
	ldr	w10, [x8]
	bic	w9, w10, w9
	b	LBB0_3
LBB0_2:
	ldr	w10, [x8]
	orr	w9, w10, w9
LBB0_3:
Lloh5:
	adrp	x10, _PB2@GOTPAGE
Lloh6:
	ldr	x10, [x10, _PB2@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	mov	w11, #1
	lsl	w10, w11, w10
	bic	w12, w9, w10
	orr	w9, w10, w9
	tst	w0, #0x2
	csel	w9, w12, w9, eq
Lloh8:
	adrp	x10, _PB1@GOTPAGE
Lloh9:
	ldr	x10, [x10, _PB1@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	lsl	w10, w11, w10
	bic	w11, w9, w10
	orr	w9, w10, w9
	tst	w0, #0x4
	csel	w9, w11, w9, eq
	str	w9, [x8]
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PB3,4,2                        ; @PB3
	.comm	_PORTB,4,2                      ; @PORTB
	.comm	_PB2,4,2                        ; @PB2
	.comm	_PB1,4,2                        ; @PB1
	.no_dead_strip	_select_row
.subsections_via_symbols
