	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_u32
_set_u32:                               ## @set_u32
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_interface@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testl	%esi, (%rax)
	je	LBB0_10
## %bb.1:
	movl	4(%rax), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_10
## %bb.2:
	movl	%esi, %r15d
	movl	%edi, %r14d
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	movq	_ACER_CAP_WIRELESS@GOTPCREL(%rip), %rax
	movq	_ACER_CAP_BLUETOOTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_ACER_CAP_THREEG@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	testl	%r15d, %ecx
	je	LBB0_9
## %bb.12:
	movl	%r14d, %edi
	movl	%r15d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wmid_v2_set_u32                ## TAILCALL
LBB0_3:
	movq	_ACER_CAP_MAILLED@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_4
LBB0_7:
	movl	%r14d, %edi
	movl	%r15d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AMW0_set_u32                   ## TAILCALL
LBB0_4:
	movq	_ACER_CAP_WIRELESS@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	je	LBB0_6
## %bb.5:
	movq	_ACER_CAP_BLUETOOTH@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_13
LBB0_6:
	movl	%r14d, %edi
	movl	%r15d, %esi
	callq	_WMID_set_u32
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testl	%eax, %eax
	jne	LBB0_11
	jmp	LBB0_7
LBB0_9:
	movq	_WMID_GUID2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_wmi_has_guid
	testl	%eax, %eax
	je	LBB0_10
LBB0_13:
	movl	%r14d, %edi
	movl	%r15d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WMID_set_u32                   ## TAILCALL
LBB0_10:
	movq	_AE_BAD_PARAMETER@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_13
	.long	L0_0_set_3
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_interface,8,3                  ## @interface
	.comm	_ACER_CAP_MAILLED,4,2           ## @ACER_CAP_MAILLED
	.comm	_ACER_CAP_WIRELESS,4,2          ## @ACER_CAP_WIRELESS
	.comm	_ACER_CAP_BLUETOOTH,4,2         ## @ACER_CAP_BLUETOOTH
	.comm	_ACER_CAP_THREEG,4,2            ## @ACER_CAP_THREEG
	.comm	_WMID_GUID2,4,2                 ## @WMID_GUID2
	.comm	_AE_BAD_PARAMETER,4,2           ## @AE_BAD_PARAMETER
	.no_dead_strip	_set_u32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_u32
_set_u32:                               ; @set_u32
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x8, _interface@GOTPAGE
Lloh1:
	ldr	x8, [x8, _interface@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w9, [x8]
	tst	w9, w1
	b.eq	LBB0_11
; %bb.1:
	ldr	w8, [x8, #4]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_11
; %bb.2:
	mov	x19, x1
	mov	x20, x0
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
Lloh5:
	adrp	x8, _ACER_CAP_WIRELESS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ACER_CAP_WIRELESS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _ACER_CAP_BLUETOOTH@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ACER_CAP_BLUETOOTH@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh11:
	adrp	x9, _ACER_CAP_THREEG@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ACER_CAP_THREEG@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w8, w9
	tst	w8, w19
	b.eq	LBB0_9
; %bb.4:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_wmid_v2_set_u32
LBB0_5:
Lloh14:
	adrp	x8, _ACER_CAP_MAILLED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ACER_CAP_MAILLED@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	w8, w19
	b.ne	LBB0_7
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_AMW0_set_u32
LBB0_7:
Lloh17:
	adrp	x8, _ACER_CAP_WIRELESS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ACER_CAP_WIRELESS@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _ACER_CAP_BLUETOOTH@GOTPAGE
Lloh21:
	ldr	x9, [x9, _ACER_CAP_BLUETOOTH@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	cmp	w8, w19
	ccmp	w9, w19, #4, ne
	b.ne	LBB0_10
; %bb.8:
	mov	x0, x20
	mov	x1, x19
	bl	_WMID_set_u32
	mov	x21, x0
	bl	_ACPI_FAILURE
	cbnz	w0, LBB0_12
	b	LBB0_6
LBB0_9:
Lloh23:
	adrp	x8, _WMID_GUID2@GOTPAGE
Lloh24:
	ldr	x8, [x8, _WMID_GUID2@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	_wmi_has_guid
	cbz	w0, LBB0_11
LBB0_10:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_WMID_set_u32
LBB0_11:
Lloh26:
	adrp	x8, _AE_BAD_PARAMETER@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AE_BAD_PARAMETER@GOTPAGEOFF]
Lloh28:
	ldr	w21, [x8]
LBB0_12:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
                                        ; -- End function
	.comm	_interface,8,3                  ; @interface
	.comm	_ACER_CAP_MAILLED,4,2           ; @ACER_CAP_MAILLED
	.comm	_ACER_CAP_WIRELESS,4,2          ; @ACER_CAP_WIRELESS
	.comm	_ACER_CAP_BLUETOOTH,4,2         ; @ACER_CAP_BLUETOOTH
	.comm	_ACER_CAP_THREEG,4,2            ; @ACER_CAP_THREEG
	.comm	_WMID_GUID2,4,2                 ; @WMID_GUID2
	.comm	_AE_BAD_PARAMETER,4,2           ; @AE_BAD_PARAMETER
	.no_dead_strip	_set_u32
.subsections_via_symbols
