	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function show_dock_type
_show_dock_type:                        ## @show_dock_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdx, %rax
	movq	(%rdi), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %ecx
	movq	_DOCK_IS_DOCK@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rcx
	jmp	LBB0_5
LBB0_2:
	movq	_DOCK_IS_ATA@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rcx
	jmp	LBB0_5
LBB0_4:
	movq	_DOCK_IS_BAT@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	leaq	L_.str.3(%rip), %rdx
	leaq	L_.str.2(%rip), %rcx
	cmoveq	%rdx, %rcx
LBB0_5:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	leaq	L_.str.4(%rip), %rdx
	movq	%rax, %rdi
	popq	%rbp
	jmp	_snprintf                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DOCK_IS_DOCK,4,2               ## @DOCK_IS_DOCK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dock_station"

	.comm	_DOCK_IS_ATA,4,2                ## @DOCK_IS_ATA
L_.str.1:                               ## @.str.1
	.asciz	"ata_bay"

	.comm	_DOCK_IS_BAT,4,2                ## @DOCK_IS_BAT
L_.str.2:                               ## @.str.2
	.asciz	"battery_bay"

L_.str.3:                               ## @.str.3
	.asciz	"unknown"

	.comm	_PAGE_SIZE,4,2                  ## @PAGE_SIZE
L_.str.4:                               ## @.str.4
	.asciz	"%s\n"

	.no_dead_strip	_show_dock_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function show_dock_type
_show_dock_type:                        ; @show_dock_type
	.cfi_startproc
; %bb.0:
	mov	x8, x2
	ldr	x9, [x0]
	ldr	x9, [x9]
	ldr	w9, [x9]
Lloh0:
	adrp	x10, _DOCK_IS_DOCK@GOTPAGE
Lloh1:
	ldr	x10, [x10, _DOCK_IS_DOCK@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	b	LBB0_5
LBB0_2:
Lloh5:
	adrp	x10, _DOCK_IS_ATA@GOTPAGE
Lloh6:
	ldr	x10, [x10, _DOCK_IS_ATA@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_4
; %bb.3:
Lloh8:
	adrp	x3, l_.str.1@PAGE
Lloh9:
	add	x3, x3, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh10:
	adrp	x10, _DOCK_IS_BAT@GOTPAGE
Lloh11:
	ldr	x10, [x10, _DOCK_IS_BAT@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
Lloh13:
	adrp	x11, l_.str.2@PAGE
Lloh14:
	add	x11, x11, l_.str.2@PAGEOFF
Lloh15:
	adrp	x12, l_.str.3@PAGE
Lloh16:
	add	x12, x12, l_.str.3@PAGEOFF
	tst	w10, w9
	csel	x3, x12, x11, eq
LBB0_5:
Lloh17:
	adrp	x9, _PAGE_SIZE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _PAGE_SIZE@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x9]
Lloh20:
	adrp	x2, l_.str.4@PAGE
Lloh21:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x8
	b	_snprintf
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_DOCK_IS_DOCK,4,2               ; @DOCK_IS_DOCK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dock_station"

	.comm	_DOCK_IS_ATA,4,2                ; @DOCK_IS_ATA
l_.str.1:                               ; @.str.1
	.asciz	"ata_bay"

	.comm	_DOCK_IS_BAT,4,2                ; @DOCK_IS_BAT
l_.str.2:                               ; @.str.2
	.asciz	"battery_bay"

l_.str.3:                               ; @.str.3
	.asciz	"unknown"

	.comm	_PAGE_SIZE,4,2                  ; @PAGE_SIZE
l_.str.4:                               ; @.str.4
	.asciz	"%s\n"

	.no_dead_strip	_show_dock_type
.subsections_via_symbols
