	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ex_do_logical_op          ## -- Begin function acpi_ex_do_logical_op
	.p2align	4, 0x90
_acpi_ex_do_logical_op:                 ## @acpi_ex_do_logical_op
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movl	%edi, %r12d
	movq	%rdx, -64(%rbp)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_ex_do_logical_op@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ACPI_FUNCTION_TRACE
	movl	(%rbx), %eax
	cmpl	$131, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$133, %eax
	je	LBB0_5
## %bb.2:
	cmpl	$132, %eax
	jne	LBB0_6
## %bb.3:
	leaq	-64(%rbp), %rsi
	movq	%r13, %rdi
	movl	$16, %edx
	callq	_acpi_ex_convert_to_integer
	movl	%eax, %r15d
	jmp	LBB0_7
LBB0_4:
	movq	_ACPI_IMPLICIT_CONVERT_HEX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-64(%rbp), %rsi
	movq	%r13, %rdi
	callq	_acpi_ex_convert_to_string
	movl	%eax, %r15d
	jmp	LBB0_7
LBB0_5:
	leaq	-64(%rbp), %rsi
	movq	%r13, %rdi
	callq	_acpi_ex_convert_to_buffer
	movl	%eax, %r15d
	jmp	LBB0_7
LBB0_6:
	movq	_AE_AML_INTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_7:
	movl	%r15d, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_12
LBB0_8:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
LBB0_9:
	movq	-64(%rbp), %rdi
	cmpq	%r13, %rdi
	je	LBB0_11
## %bb.10:
	callq	_acpi_ut_remove_reference
LBB0_11:
	movl	%ebx, (%r14)
	movl	%r15d, %edi
	callq	_return_ACPI_STATUS
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	cmpl	$132, (%rbx)
	jne	LBB0_17
## %bb.13:
	movq	-64(%rbp), %rax
	movl	(%rax), %eax
	cmpl	$128, %r12d
	je	LBB0_23
## %bb.14:
	cmpl	$129, %r12d
	je	LBB0_24
## %bb.15:
	cmpl	$130, %r12d
	jne	LBB0_26
## %bb.16:
	cmpl	$132, %eax
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jne	LBB0_9
	jmp	LBB0_25
LBB0_17:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rcx
	movq	-64(%rbp), %rax
	movq	(%rax), %r14
	movl	8(%rbx), %edi
	movl	8(%rax), %esi
	cmpq	%r14, %rcx
	movq	%r14, %rdx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	cmovlq	%rcx, %rdx
	callq	_ACPI_MEMCMP
	cmpl	$128, %r12d
	je	LBB0_27
## %bb.18:
	cmpl	$129, %r12d
	je	LBB0_31
## %bb.19:
	cmpl	$130, %r12d
	jne	LBB0_33
## %bb.20:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %ecx
	testl	%eax, %eax
	jne	LBB0_22
## %bb.21:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_22:
	cmpq	%r14, -72(%rbp)                 ## 8-byte Folded Reload
	cmovel	%ecx, %ebx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_23:
	cmpl	$133, %eax
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jl	LBB0_9
	jmp	LBB0_25
LBB0_24:
	cmpl	$132, %eax
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jge	LBB0_9
LBB0_25:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_9
LBB0_26:
	movq	_AE_AML_INTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_8
LBB0_27:
	testl	%eax, %eax
	jg	LBB0_34
## %bb.28:
	js	LBB0_32
## %bb.29:
	cmpq	%r14, -72(%rbp)                 ## 8-byte Folded Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jl	LBB0_37
	jmp	LBB0_38
LBB0_31:
	testl	%eax, %eax
	jle	LBB0_35
LBB0_32:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_9
LBB0_33:
	movq	_AE_AML_INTERNAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_34:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_8
LBB0_35:
	js	LBB0_34
## %bb.36:
	cmpq	%r14, -72(%rbp)                 ## 8-byte Folded Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jle	LBB0_38
LBB0_37:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_38:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_AE_OK,4,2                      ## @AE_OK
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_ex_do_logical_op,4,2           ## @ex_do_logical_op
	.comm	_ACPI_IMPLICIT_CONVERT_HEX,4,2  ## @ACPI_IMPLICIT_CONVERT_HEX
	.comm	_AE_AML_INTERNAL,4,2            ## @AE_AML_INTERNAL
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_acpi_ex_do_logical_op          ; -- Begin function acpi_ex_do_logical_op
	.p2align	2
_acpi_ex_do_logical_op:                 ; @acpi_ex_do_logical_op
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x20, x2
	mov	x23, x1
	mov	x22, x0
	str	x2, [sp, #8]
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w24, [x8]
Lloh3:
	adrp	x8, _ex_do_logical_op@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ex_do_logical_op@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_ACPI_FUNCTION_TRACE
	ldr	w8, [x23]
	cmp	w8, #131
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #133
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #132
	b.ne	LBB0_6
; %bb.3:
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #16
	bl	_acpi_ex_convert_to_integer
	mov	x21, x0
	b	LBB0_7
LBB0_4:
Lloh6:
	adrp	x8, _ACPI_IMPLICIT_CONVERT_HEX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ACPI_IMPLICIT_CONVERT_HEX@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	x0, x20
	bl	_acpi_ex_convert_to_string
	mov	x21, x0
	b	LBB0_7
LBB0_5:
	add	x1, sp, #8
	mov	x0, x20
	bl	_acpi_ex_convert_to_buffer
	mov	x21, x0
	b	LBB0_7
LBB0_6:
Lloh9:
	adrp	x8, _AE_AML_INTERNAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AE_AML_INTERNAL@GOTPAGEOFF]
Lloh11:
	ldr	w21, [x8]
LBB0_7:
	mov	x0, x21
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_11
LBB0_8:
	ldr	x0, [sp, #8]
	cmp	x0, x20
	b.eq	LBB0_10
; %bb.9:
	bl	_acpi_ut_remove_reference
LBB0_10:
	str	w24, [x19]
	mov	x0, x21
	bl	_return_ACPI_STATUS
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_11:
	ldr	w8, [x23]
	cmp	w8, #132
	b.ne	LBB0_16
; %bb.12:
	ldr	x8, [sp, #8]
	ldr	w8, [x8]
	cmp	w22, #128
	b.eq	LBB0_21
; %bb.13:
	cmp	w22, #129
	b.eq	LBB0_22
; %bb.14:
	cmp	w22, #130
	b.ne	LBB0_20
; %bb.15:
Lloh12:
	adrp	x9, _TRUE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _TRUE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w8, #132
	csel	w24, w9, w24, eq
	b	LBB0_8
LBB0_16:
	ldr	x25, [x23]
	ldr	x8, [sp, #8]
	ldr	x26, [x8]
	ldr	w0, [x23, #8]
	ldr	w1, [x8, #8]
	cmp	x25, x26
	csel	x2, x25, x26, lt
	bl	_ACPI_MEMCMP
	cmp	w22, #128
	b.eq	LBB0_23
; %bb.17:
	cmp	w22, #129
	b.eq	LBB0_26
; %bb.18:
	cmp	w22, #130
	b.ne	LBB0_20
; %bb.19:
	cmp	w0, #0
	ccmp	x25, x26, #0, eq
Lloh15:
	adrp	x8, _TRUE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	csel	w24, w8, w24, eq
	b	LBB0_8
LBB0_20:
Lloh18:
	adrp	x8, _AE_AML_INTERNAL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AE_AML_INTERNAL@GOTPAGEOFF]
Lloh20:
	ldr	w21, [x8]
	b	LBB0_8
LBB0_21:
Lloh21:
	adrp	x9, _TRUE@GOTPAGE
Lloh22:
	ldr	x9, [x9, _TRUE@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	cmp	w8, #132
	csel	w24, w9, w24, gt
	b	LBB0_8
LBB0_22:
Lloh24:
	adrp	x9, _TRUE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _TRUE@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	cmp	w8, #132
	csel	w24, w9, w24, lt
	b	LBB0_8
LBB0_23:
	cmp	w0, #0
	b.gt	LBB0_8
; %bb.24:
	tbnz	w0, #31, LBB0_27
; %bb.25:
Lloh27:
	adrp	x8, _TRUE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	cmp	x25, x26
	csel	w24, w8, w24, lt
	b	LBB0_8
LBB0_26:
	cmp	w0, #1
	b.lt	LBB0_28
LBB0_27:
Lloh30:
	adrp	x8, _TRUE@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh32:
	ldr	w24, [x8]
	b	LBB0_8
LBB0_28:
	tbnz	w0, #31, LBB0_8
; %bb.29:
Lloh33:
	adrp	x8, _TRUE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	cmp	x25, x26
	csel	w24, w8, w24, gt
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_AE_OK,4,2                      ; @AE_OK
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_ex_do_logical_op,4,2           ; @ex_do_logical_op
	.comm	_ACPI_IMPLICIT_CONVERT_HEX,4,2  ; @ACPI_IMPLICIT_CONVERT_HEX
	.comm	_AE_AML_INTERNAL,4,2            ; @AE_AML_INTERNAL
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
