	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dln2_gpio_get_pin_count
_dln2_gpio_get_pin_count:               ## @dln2_gpio_get_pin_count
	.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
	movl	$4, -4(%rbp)
	movq	_DLN2_GPIO_GET_PIN_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-8(%rbp), %rdx
	leaq	-4(%rbp), %rcx
	callq	_dln2_transfer_rx
	testl	%eax, %eax
	js	LBB0_4
## %bb.1:
	cmpl	$3, -4(%rbp)
	ja	LBB0_3
## %bb.2:
	movq	_EPROTO@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_4
LBB0_3:
	movl	-8(%rbp), %edi
	callq	_le16_to_cpu
LBB0_4:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DLN2_GPIO_GET_PIN_COUNT,4,2    ## @DLN2_GPIO_GET_PIN_COUNT
	.comm	_EPROTO,4,2                     ## @EPROTO
	.no_dead_strip	_dln2_gpio_get_pin_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dln2_gpio_get_pin_count
_dln2_gpio_get_pin_count:               ; @dln2_gpio_get_pin_count
	.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	w8, #4
	str	w8, [sp, #8]
Lloh0:
	adrp	x8, _DLN2_GPIO_GET_PIN_COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DLN2_GPIO_GET_PIN_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	sub	x2, x29, #4
	add	x3, sp, #8
	bl	_dln2_transfer_rx
	tbnz	w0, #31, LBB0_4
; %bb.1:
	ldr	w8, [sp, #8]
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, _EPROTO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EPROTO@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
LBB0_3:
	ldur	w0, [x29, #-4]
	bl	_le16_to_cpu
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DLN2_GPIO_GET_PIN_COUNT,4,2    ; @DLN2_GPIO_GET_PIN_COUNT
	.comm	_EPROTO,4,2                     ; @EPROTO
	.no_dead_strip	_dln2_gpio_get_pin_count
.subsections_via_symbols
