	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unselect_rows
_unselect_rows:                         ## @unselect_rows
	.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	_mcp23018_status@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	jne	LBB0_5
## %bb.1:
	movq	_I2C_ADDR_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_I2C_TIMEOUT@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_i2c_start
	movq	%rax, (%rbx)
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movq	_GPIOA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %esi
	callq	_i2c_write
	movq	%rax, (%rbx)
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movl	(%r14), %esi
	movl	$255, %edi
	callq	_i2c_write
	movq	%rax, (%rbx)
LBB0_4:
	xorl	%eax, %eax
	callq	_i2c_stop
LBB0_5:
	movq	_DDRB@GOTPCREL(%rip), %rax
	andb	$-16, (%rax)
	movq	_PORTB@GOTPCREL(%rip), %rax
	andb	$-16, (%rax)
	movq	_DDRD@GOTPCREL(%rip), %rax
	andb	$-13, (%rax)
	movq	_PORTD@GOTPCREL(%rip), %rax
	andb	$-13, (%rax)
	movq	_DDRC@GOTPCREL(%rip), %rax
	andb	$63, (%rax)
	movq	_PORTC@GOTPCREL(%rip), %rax
	andb	$63, (%rax)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mcp23018_status,8,3            ## @mcp23018_status
	.comm	_I2C_ADDR_WRITE,4,2             ## @I2C_ADDR_WRITE
	.comm	_I2C_TIMEOUT,4,2                ## @I2C_TIMEOUT
	.comm	_GPIOA,4,2                      ## @GPIOA
	.comm	_DDRB,4,2                       ## @DDRB
	.comm	_PORTB,4,2                      ## @PORTB
	.comm	_DDRD,4,2                       ## @DDRD
	.comm	_PORTD,4,2                      ## @PORTD
	.comm	_DDRC,4,2                       ## @DDRC
	.comm	_PORTC,4,2                      ## @PORTC
	.no_dead_strip	_unselect_rows
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unselect_rows
_unselect_rows:                         ; @unselect_rows
	.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
Lloh0:
	adrp	x19, _mcp23018_status@GOTPAGE
Lloh1:
	ldr	x19, [x19, _mcp23018_status@GOTPAGEOFF]
	ldr	x8, [x19]
	cbnz	x8, LBB0_5
; %bb.1:
Lloh2:
	adrp	x8, _I2C_ADDR_WRITE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _I2C_ADDR_WRITE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x20, _I2C_TIMEOUT@GOTPAGE
Lloh6:
	ldr	x20, [x20, _I2C_TIMEOUT@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_i2c_start
	str	x0, [x19]
	cbnz	x0, LBB0_4
; %bb.2:
Lloh7:
	adrp	x8, _GPIOA@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GPIOA@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	ldr	w1, [x20]
	bl	_i2c_write
	str	x0, [x19]
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	w1, [x20]
	mov	w0, #255
	bl	_i2c_write
	str	x0, [x19]
LBB0_4:
	bl	_i2c_stop
LBB0_5:
Lloh10:
	adrp	x8, _DDRB@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DDRB@GOTPAGEOFF]
	ldr	w9, [x8]
	and	w9, w9, #0xfffffff0
Lloh12:
	adrp	x10, _PORTB@GOTPAGE
Lloh13:
	ldr	x10, [x10, _PORTB@GOTPAGEOFF]
	str	w9, [x8]
	ldr	w8, [x10]
	and	w8, w8, #0xfffffff0
	str	w8, [x10]
Lloh14:
	adrp	x8, _DDRD@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DDRD@GOTPAGEOFF]
	ldr	w9, [x8]
	and	w9, w9, #0xfffffff3
	str	w9, [x8]
Lloh16:
	adrp	x8, _PORTD@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PORTD@GOTPAGEOFF]
	ldr	w9, [x8]
	and	w9, w9, #0xfffffff3
	str	w9, [x8]
Lloh18:
	adrp	x8, _DDRC@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DDRC@GOTPAGEOFF]
	ldr	w9, [x8]
	and	w9, w9, #0xffffff3f
	str	w9, [x8]
Lloh20:
	adrp	x8, _PORTC@GOTPAGE
Lloh21:
	ldr	x8, [x8, _PORTC@GOTPAGEOFF]
	ldr	w9, [x8]
	and	w9, w9, #0xffffff3f
	str	w9, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_mcp23018_status,8,3            ; @mcp23018_status
	.comm	_I2C_ADDR_WRITE,4,2             ; @I2C_ADDR_WRITE
	.comm	_I2C_TIMEOUT,4,2                ; @I2C_TIMEOUT
	.comm	_GPIOA,4,2                      ; @GPIOA
	.comm	_DDRB,4,2                       ; @DDRB
	.comm	_PORTB,4,2                      ; @PORTB
	.comm	_DDRD,4,2                       ; @DDRD
	.comm	_PORTD,4,2                      ; @PORTD
	.comm	_DDRC,4,2                       ; @DDRC
	.comm	_PORTC,4,2                      ; @PORTC
	.no_dead_strip	_unselect_rows
.subsections_via_symbols
