	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ks_set_mac
_ks_set_mac:                            ## @ks_set_mac
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_ks_stop_rx
	movzwl	(%r14), %eax
	rolw	$8, %ax
	movzwl	%ax, %edx
	movq	_KS_MARH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ks_wrreg16
	movzwl	4(%r14), %eax
	rolw	$8, %ax
	movzwl	%ax, %edx
	movq	_KS_MARM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ks_wrreg16
	movzwl	8(%r14), %eax
	rolw	$8, %ax
	movzwl	%ax, %edx
	movq	_KS_MARL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ks_wrreg16
	movl	8(%rbx), %edi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_memcpy
	cmpq	$0, (%rbx)
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ks_start_rx                    ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KS_MARH,4,2                    ## @KS_MARH
	.comm	_KS_MARM,4,2                    ## @KS_MARM
	.comm	_KS_MARL,4,2                    ## @KS_MARL
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.no_dead_strip	_ks_set_mac
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ks_set_mac
_ks_set_mac:                            ; @ks_set_mac
	.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	x20, x1
	mov	x19, x0
	bl	_ks_stop_rx
	ldrh	w8, [x20]
	rev	w8, w8
	lsr	w2, w8, #16
Lloh0:
	adrp	x8, _KS_MARH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KS_MARH@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ks_wrreg16
	ldrh	w8, [x20, #4]
	rev	w8, w8
	lsr	w2, w8, #16
Lloh3:
	adrp	x8, _KS_MARM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KS_MARM@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ks_wrreg16
	ldrh	w8, [x20, #8]
	rev	w8, w8
	lsr	w2, w8, #16
Lloh6:
	adrp	x8, _KS_MARL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _KS_MARL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_ks_wrreg16
	ldr	w0, [x19, #8]
Lloh9:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_memcpy
	ldr	x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ks_start_rx
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_KS_MARH,4,2                    ; @KS_MARH
	.comm	_KS_MARM,4,2                    ; @KS_MARM
	.comm	_KS_MARL,4,2                    ; @KS_MARL
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.no_dead_strip	_ks_set_mac
.subsections_via_symbols
