	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zd1201_get_rts
_zd1201_get_rts:                        ## @zd1201_get_rts
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	callq	_netdev_priv
	movq	_ZD1201_RID_CNFRTSTHRESHOLD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-10(%rbp), %rdx
	movq	%rax, %rdi
	callq	_zd1201_getconfig16
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movzwl	-10(%rbp), %ecx
	movw	%cx, (%rbx)
	movq	_ZD1201_RTSMAX@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	cmpw	(%rdx), %cx
	sete	%sil
	movl	%esi, 4(%rbx)
	movl	$1, 8(%rbx)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ZD1201_RID_CNFRTSTHRESHOLD,4,2 ## @ZD1201_RID_CNFRTSTHRESHOLD
	.comm	_ZD1201_RTSMAX,2,1              ## @ZD1201_RTSMAX
	.no_dead_strip	_zd1201_get_rts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zd1201_get_rts
_zd1201_get_rts:                        ; @zd1201_get_rts
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	bl	_netdev_priv
Lloh0:
	adrp	x8, _ZD1201_RID_CNFRTSTHRESHOLD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ZD1201_RID_CNFRTSTHRESHOLD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #14
	bl	_zd1201_getconfig16
	cbnz	w0, LBB0_2
; %bb.1:
	ldrh	w8, [sp, #14]
	strh	w8, [x19]
Lloh3:
	adrp	x9, _ZD1201_RTSMAX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ZD1201_RTSMAX@GOTPAGEOFF]
	ldrh	w9, [x9]
	cmp	w8, w9
	cset	w8, eq
	mov	w9, #1
	stp	w8, w9, [x19, #4]
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ZD1201_RID_CNFRTSTHRESHOLD,4,2 ; @ZD1201_RID_CNFRTSTHRESHOLD
	.comm	_ZD1201_RTSMAX,2,1              ; @ZD1201_RTSMAX
	.no_dead_strip	_zd1201_get_rts
.subsections_via_symbols
