	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at76_start_monitor
_at76_start_monitor:                    ## @at76_start_monitor
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	-72(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movl	-32(%rbp), %edi
	callq	_eth_broadcast_addr
	movl	12(%rbx), %eax
	movl	%eax, -36(%rbp)
	movq	_SCAN_TYPE_PASSIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	$0, -48(%rbp)
	movl	8(%rbx), %edi
	callq	_cpu_to_le16
	movq	%rax, -56(%rbp)
	movl	4(%rbx), %edi
	callq	_cpu_to_le16
	movq	%rax, -64(%rbp)
	xorl	%edi, %edi
	callq	_cpu_to_le16
	movq	%rax, -72(%rbp)
	movl	(%rbx), %edi
	movq	_CMD_SCAN@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdx
	movl	$48, %ecx
	callq	_at76_set_card_command
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	movl	(%rbx), %edi
	movl	(%r15), %esi
	callq	_at76_get_cmd_status
LBB0_2:
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCAN_TYPE_PASSIVE,4,2          ## @SCAN_TYPE_PASSIVE
	.comm	_CMD_SCAN,4,2                   ## @CMD_SCAN
	.no_dead_strip	_at76_start_monitor
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at76_start_monitor
_at76_start_monitor:                    ; @at76_start_monitor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	x0, sp
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	ldr	w0, [sp, #40]
	bl	_eth_broadcast_addr
Lloh0:
	adrp	x8, _SCAN_TYPE_PASSIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCAN_TYPE_PASSIVE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w0, w9, [x19, #8]
	stp	w8, w9, [sp, #32]
	str	xzr, [sp, #24]
	bl	_cpu_to_le16
	str	x0, [sp, #16]
	ldr	w0, [x19, #4]
	bl	_cpu_to_le16
	str	x0, [sp, #8]
	mov	w0, #0
	bl	_cpu_to_le16
	str	x0, [sp]
	ldr	w0, [x19]
Lloh3:
	adrp	x20, _CMD_SCAN@GOTPAGE
Lloh4:
	ldr	x20, [x20, _CMD_SCAN@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x2, sp
	mov	w3, #48
	bl	_at76_set_card_command
	tbnz	w0, #31, LBB0_2
; %bb.1:
	ldr	w0, [x19]
	ldr	w1, [x20]
	bl	_at76_get_cmd_status
LBB0_2:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SCAN_TYPE_PASSIVE,4,2          ; @SCAN_TYPE_PASSIVE
	.comm	_CMD_SCAN,4,2                   ; @CMD_SCAN
	.no_dead_strip	_at76_start_monitor
.subsections_via_symbols
