	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atmel_set_retry
_atmel_set_retry:                       ## @atmel_set_retry
	.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	_EINVAL@GOTPCREL(%rip), %rcx
	cmpl	$0, 8(%rbx)
	jne	LBB0_8
## %bb.1:
	movl	(%rbx), %edx
	movq	_IW_RETRY_LIMIT@GOTPCREL(%rip), %rsi
	testl	%edx, (%rsi)
	je	LBB0_8
## %bb.2:
	movq	_IW_RETRY_LONG@GOTPCREL(%rip), %rcx
	testl	%edx, (%rcx)
	je	LBB0_4
## %bb.3:
	movl	4(%rbx), %ecx
	movl	%ecx, 4(%rax)
	jmp	LBB0_7
LBB0_4:
	movq	_IW_RETRY_SHORT@GOTPCREL(%rip), %rsi
	movl	4(%rbx), %ecx
	testl	%edx, (%rsi)
	jne	LBB0_6
## %bb.5:
	movl	%ecx, 4(%rax)
LBB0_6:
	movl	%ecx, (%rax)
LBB0_7:
	movq	_EINPROGRESS@GOTPCREL(%rip), %rcx
LBB0_8:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IW_RETRY_LIMIT,4,2             ## @IW_RETRY_LIMIT
	.comm	_IW_RETRY_LONG,4,2              ## @IW_RETRY_LONG
	.comm	_IW_RETRY_SHORT,4,2             ## @IW_RETRY_SHORT
	.comm	_EINPROGRESS,4,2                ## @EINPROGRESS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_atmel_set_retry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atmel_set_retry
_atmel_set_retry:                       ; @atmel_set_retry
	.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
	mov	x19, x2
	bl	_netdev_priv
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_2
LBB0_1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_9
LBB0_2:
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _IW_RETRY_LIMIT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IW_RETRY_LIMIT@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_1
; %bb.3:
Lloh5:
	adrp	x9, _IW_RETRY_LONG@GOTPAGE
Lloh6:
	ldr	x9, [x9, _IW_RETRY_LONG@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	ldr	w8, [x19, #4]
	str	w8, [x0, #4]
	b	LBB0_8
LBB0_5:
Lloh8:
	adrp	x9, _IW_RETRY_SHORT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IW_RETRY_SHORT@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x9]
	ldr	w9, [x19, #4]
	tst	w10, w8
	b.ne	LBB0_7
; %bb.6:
	str	w9, [x0, #4]
LBB0_7:
	str	w9, [x0]
LBB0_8:
Lloh11:
	adrp	x8, _EINPROGRESS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EINPROGRESS@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_IW_RETRY_LIMIT,4,2             ; @IW_RETRY_LIMIT
	.comm	_IW_RETRY_LONG,4,2              ; @IW_RETRY_LONG
	.comm	_IW_RETRY_SHORT,4,2             ; @IW_RETRY_SHORT
	.comm	_EINPROGRESS,4,2                ; @EINPROGRESS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_atmel_set_retry
.subsections_via_symbols
