	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movl	%edi, %ebx
	movq	(%rsi), %r15
	cmpl	$1, %edi
	jg	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	callq	_usage
LBB0_2:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %r14
	leaq	LJTI0_0(%rip), %r12
	xorl	%eax, %eax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=2
	movq	_vflag@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ebx, %edi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	leal	-100(%rax), %ecx
	cmpl	$18, %ecx
	ja	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=2
	movslq	(%r12,%rcx,4), %rax
	addq	%r12, %rax
	jmpq	*%rax
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=2
	movq	_dflag@GOTPCREL(%rip), %rax
	movq	$1, (%rax)
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=2
	movq	_tflag@GOTPCREL(%rip), %rax
	movq	$1, (%rax)
	jmp	LBB0_4
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=2
	cmpl	$-1, %eax
	je	LBB0_13
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=2
	movq	%r15, %rdi
	callq	_usage
	jmp	LBB0_4
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=2
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
LBB0_13:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	jne	LBB0_14
## %bb.20:
	movq	_vflag@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_22
## %bb.21:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
LBB0_22:
	xorl	%eax, %eax
	callq	_sdt_load_devmem
	jmp	LBB0_23
LBB0_14:
	movq	_tflag@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_dflag@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	orq	%rcx, %rax
	sete	%al
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	je	LBB0_16
## %bb.15:
	testq	%rcx, %rcx
	je	LBB0_17
LBB0_16:
	leaq	L_.str.1(%rip), %rcx
	leaq	L_.str.2(%rip), %rdi
	testb	%al, %al
	cmovneq	%rcx, %rdi
	xorl	%eax, %eax
	callq	_warnx
	movq	%r15, %rdi
	callq	_usage
LBB0_17:
	movq	_vflag@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_19
## %bb.18:
	leaq	L_.str.3(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_warnx
LBB0_19:
	movq	%rbx, %rdi
	callq	_dsdt_load_file
LBB0_23:
	movq	%rax, %r15
	movq	_tflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_27
## %bb.24:
	movq	_vflag@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_26
## %bb.25:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
LBB0_26:
	movq	%r15, %rdi
	callq	_sdt_print_all
LBB0_27:
	testq	%rbx, %rbx
	jne	LBB0_28
## %bb.29:
	movq	_ACPI_SIG_FADT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_sdt_from_rsdt
	movq	%rax, %rdi
	callq	_dsdt_from_fadt
	movq	%r15, %rbx
	movq	%rax, %r15
	testq	%r14, %r14
	jne	LBB0_31
	jmp	LBB0_34
LBB0_28:
	xorl	%ebx, %ebx
	testq	%r14, %r14
	je	LBB0_34
LBB0_31:
	movq	_vflag@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_33
## %bb.32:
	leaq	L_.str.6(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_warnx
LBB0_33:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_dsdt_save_file
LBB0_34:
	movq	_dflag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_39
## %bb.35:
	movq	_vflag@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_37
## %bb.36:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
LBB0_37:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_aml_disassemble
	movq	_vflag@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_39
## %bb.38:
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
LBB0_39:
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_6
	.long	L0_0_set_11
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_12
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_6
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dhtvf:o:"

	.comm	_dflag,8,3                      ## @dflag
	.comm	_tflag,8,3                      ## @tflag
	.comm	_vflag,4,2                      ## @vflag
	.comm	_optarg,8,3                     ## @optarg
	.comm	_optind,8,3                     ## @optind
L_.str.1:                               ## @.str.1
	.asciz	"Need to specify -d or -t with DSDT input file"

L_.str.2:                               ## @.str.2
	.asciz	"Can't use -t with DSDT input file"

L_.str.3:                               ## @.str.3
	.asciz	"loading DSDT file: %s"

L_.str.4:                               ## @.str.4
	.asciz	"loading RSD PTR from /dev/mem"

L_.str.5:                               ## @.str.5
	.asciz	"printing various SDT tables"

	.comm	_ACPI_SIG_FADT,4,2              ## @ACPI_SIG_FADT
L_.str.6:                               ## @.str.6
	.asciz	"saving DSDT file: %s"

L_.str.7:                               ## @.str.7
	.asciz	"disassembling DSDT, iasl messages follow"

L_.str.8:                               ## @.str.8
	.asciz	"iasl processing complete"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x1
	mov	x23, x0
	ldr	x21, [x1]
	cmp	w0, #1
	b.gt	LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_usage
LBB0_2:
	stp	xzr, xzr, [sp, #16]             ; 16-byte Folded Spill
Lloh0:
	adrp	x26, _dflag@GOTPAGE
Lloh1:
	ldr	x26, [x26, _dflag@GOTPAGEOFF]
	mov	w28, #1
Lloh2:
	adrp	x24, l_.str@PAGE
Lloh3:
	add	x24, x24, l_.str@PAGEOFF
Lloh4:
	adrp	x19, _optarg@GOTPAGE
Lloh5:
	ldr	x19, [x19, _optarg@GOTPAGEOFF]
Lloh6:
	adrp	x27, _tflag@GOTPAGE
Lloh7:
	ldr	x27, [x27, _tflag@GOTPAGEOFF]
Lloh8:
	adrp	x25, _vflag@GOTPAGE
Lloh9:
	ldr	x25, [x25, _vflag@GOTPAGEOFF]
Lloh10:
	adrp	x20, lJTI0_0@PAGE
Lloh11:
	add	x20, x20, lJTI0_0@PAGEOFF
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w28, [x25]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x22
	mov	x2, x24
	bl	_getopt
	sub	w8, w0, #100
	cmp	w8, #18
	b.hi	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	adr	x9, LBB0_3
	ldrb	w10, [x20, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	x28, [x26]
	b	LBB0_4
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	x28, [x27]
	b	LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmn	w0, #1
	b.eq	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_usage
	b	LBB0_4
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	b	LBB0_4
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	b	LBB0_4
LBB0_12:
	ldr	x20, [sp, #16]                  ; 8-byte Folded Reload
	cbnz	x20, LBB0_16
; %bb.13:
	ldr	w8, [x25]
	ldr	x19, [sp, #24]                  ; 8-byte Folded Reload
	cbz	w8, LBB0_15
; %bb.14:
Lloh12:
	adrp	x0, l_.str.4@PAGE
Lloh13:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_warnx
LBB0_15:
	bl	_sdt_load_devmem
	b	LBB0_21
LBB0_16:
	ldr	x8, [x26]
	ldr	x9, [x27]
	orr	x8, x8, x9
	cmp	x8, #0
	cset	w8, eq
	ccmp	x9, #0, #0, ne
	ldr	x19, [sp, #24]                  ; 8-byte Folded Reload
	b.eq	LBB0_18
; %bb.17:
Lloh14:
	adrp	x9, l_.str.2@PAGE
Lloh15:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh16:
	adrp	x10, l_.str.1@PAGE
Lloh17:
	add	x10, x10, l_.str.1@PAGEOFF
	cmp	w8, #0
	csel	x0, x10, x9, ne
	bl	_warnx
	mov	x0, x21
	bl	_usage
LBB0_18:
	ldr	w8, [x25]
	cbz	w8, LBB0_20
; %bb.19:
	str	x20, [sp]
Lloh18:
	adrp	x0, l_.str.3@PAGE
Lloh19:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_warnx
LBB0_20:
	mov	x0, x20
	bl	_dsdt_load_file
LBB0_21:
	mov	x21, x0
	ldr	x8, [x27]
	cbz	x8, LBB0_25
; %bb.22:
	ldr	w8, [x25]
	cbz	w8, LBB0_24
; %bb.23:
Lloh20:
	adrp	x0, l_.str.5@PAGE
Lloh21:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_warnx
LBB0_24:
	mov	x0, x21
	bl	_sdt_print_all
LBB0_25:
	cbnz	x20, LBB0_27
; %bb.26:
Lloh22:
	adrp	x8, _ACPI_SIG_FADT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ACPI_SIG_FADT@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, #0
	bl	_sdt_from_rsdt
	bl	_dsdt_from_fadt
	mov	x20, x21
	mov	x21, x0
	cbnz	x19, LBB0_28
	b	LBB0_31
LBB0_27:
	mov	x20, #0
	cbz	x19, LBB0_31
LBB0_28:
	ldr	w8, [x25]
	cbz	w8, LBB0_30
; %bb.29:
	str	x19, [sp]
Lloh25:
	adrp	x0, l_.str.6@PAGE
Lloh26:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_warnx
LBB0_30:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_dsdt_save_file
LBB0_31:
	ldr	x8, [x26]
	cbz	x8, LBB0_36
; %bb.32:
	ldr	w8, [x25]
	cbz	w8, LBB0_34
; %bb.33:
Lloh27:
	adrp	x0, l_.str.7@PAGE
Lloh28:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_warnx
LBB0_34:
	mov	x0, x20
	mov	x1, x21
	bl	_aml_disassemble
	ldr	w8, [x25]
	cbz	w8, LBB0_36
; %bb.35:
Lloh29:
	adrp	x0, l_.str.8@PAGE
Lloh30:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_warnx
LBB0_36:
	mov	w0, #0
	bl	_exit
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dhtvf:o:"

	.comm	_dflag,8,3                      ; @dflag
	.comm	_tflag,8,3                      ; @tflag
	.comm	_vflag,4,2                      ; @vflag
	.comm	_optarg,8,3                     ; @optarg
	.comm	_optind,8,3                     ; @optind
l_.str.1:                               ; @.str.1
	.asciz	"Need to specify -d or -t with DSDT input file"

l_.str.2:                               ; @.str.2
	.asciz	"Can't use -t with DSDT input file"

l_.str.3:                               ; @.str.3
	.asciz	"loading DSDT file: %s"

l_.str.4:                               ; @.str.4
	.asciz	"loading RSD PTR from /dev/mem"

l_.str.5:                               ; @.str.5
	.asciz	"printing various SDT tables"

	.comm	_ACPI_SIG_FADT,4,2              ; @ACPI_SIG_FADT
l_.str.6:                               ; @.str.6
	.asciz	"saving DSDT file: %s"

l_.str.7:                               ; @.str.7
	.asciz	"disassembling DSDT, iasl messages follow"

l_.str.8:                               ; @.str.8
	.asciz	"iasl processing complete"

.subsections_via_symbols
