	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipw_set_scan_type
_ipw_set_scan_type:                     ## @ipw_set_scan_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %ecx
	shrl	$31, %ecx
	addl	%esi, %ecx
	sarl	%ecx
	movq	(%rdi), %rax
	movslq	%ecx, %rcx
	movl	(%rax,%rcx,4), %edi
	testb	$1, %sil
	jne	LBB0_1
## %bb.2:
	andl	$15, %edi
	shll	$4, %edx
	movzbl	%dl, %edx
	jmp	LBB0_3
LBB0_1:
	andl	$240, %edi
	andl	$15, %edx
LBB0_3:
	orl	%edi, %edx
	movl	%edx, (%rax,%rcx,4)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ipw_set_scan_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipw_set_scan_type
_ipw_set_scan_type:                     ; @ipw_set_scan_type
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	cmp	w1, #0
	cinc	w9, w1, lt
	asr	w10, w9, #1
	sbfx	x9, x9, #1, #31
	ldr	w10, [x8, w10, sxtw #2]
	and	w11, w10, #0xf
	bfi	w11, w2, #4, #4
	and	w10, w10, #0xf0
	bfxil	w10, w2, #0, #4
	tst	w1, #0x1
	csel	w10, w11, w10, eq
	str	w10, [x8, x9, lsl #2]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_ipw_set_scan_type
.subsections_via_symbols
