	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_regmap_encx24j600_spi_read     ## -- Begin function regmap_encx24j600_spi_read
	.p2align	4, 0x90
_regmap_encx24j600_spi_read:            ## @regmap_encx24j600_spi_read
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	%rdx, %rax
	movq	_RBSEL@GOTPCREL(%rip), %rdx
	cmpl	%esi, (%rdx)
	movl	%esi, -4(%rbp)
	movl	$1, %r8d
	cmovneq	%rcx, %r8
	cmpq	$2, %rcx
	cmovbq	%rcx, %r8
	movl	(%rdi), %edi
	leaq	-4(%rbp), %rsi
	movl	$4, %edx
	movq	%rax, %rcx
	callq	_spi_write_then_read
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RBSEL,4,2                      ## @RBSEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_regmap_encx24j600_spi_read     ; -- Begin function regmap_encx24j600_spi_read
	.p2align	2
_regmap_encx24j600_spi_read:            ; @regmap_encx24j600_spi_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	mov	x8, x2
Lloh0:
	adrp	x9, _RBSEL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RBSEL@GOTPAGEOFF]
	stur	w1, [x29, #-4]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, w1
	ccmp	x3, #1, #0, eq
	csinc	x4, x3, xzr, ls
	ldr	w0, [x0]
	sub	x1, x29, #4
	mov	w2, #4
	mov	x3, x8
	bl	_spi_write_then_read
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RBSEL,4,2                      ; @RBSEL
.subsections_via_symbols
