	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function BUTTON_BStoDT
_BUTTON_BStoDT:                         ## @BUTTON_BStoDT
	.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
	movl	%esi, %r15d
	movq	_DT_NOCLIP@GOTPCREL(%rip), %rax
	movq	_BS_PUSHLIKE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%edi, %ecx
	movq	_BS_TYPEMASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	notl	%edx
	xorl	%ebx, %ebx
	cmpl	$1, %ecx
	sbbl	%ebx, %ebx
	orl	%edx, %ebx
	andl	%edi, %ebx
	movq	_BS_MULTILINE@GOTPCREL(%rip), %rcx
	testl	%ebx, (%rcx)
	jne	LBB0_1
## %bb.2:
	movq	_DT_SINGLELINE@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_1:
	movq	_DT_WORDBREAK@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	(%rcx), %r14d
	orl	(%rax), %r14d
	movl	%ebx, %eax
	notl	%eax
	testb	$-124, %al
	je	LBB0_5
## %bb.4:
	movl	%ebx, %edi
	callq	_get_button_type
	movq	_BS_DEFPUSHBUTTON@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_6
LBB0_5:
	movq	_DT_CENTER@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
LBB0_6:
	movq	_WS_EX_RIGHT@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_8
## %bb.7:
	movq	_DT_RIGHT@GOTPCREL(%rip), %rax
	movq	_DT_LEFT@GOTPCREL(%rip), %rcx
	movq	_DT_CENTER@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%edx
	andl	%edx, %r14d
	orl	(%rax), %r14d
LBB0_8:
	movl	%ebx, %edi
	callq	_get_button_type
	movq	_BS_GROUPBOX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.10:
	movq	_DT_SINGLELINE@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_9:
	movq	_DT_VCENTER@GOTPCREL(%rip), %rax
LBB0_11:
	orl	(%rax), %r14d
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DT_NOCLIP,4,2                  ## @DT_NOCLIP
	.comm	_BS_PUSHLIKE,4,2                ## @BS_PUSHLIKE
	.comm	_BS_TYPEMASK,4,2                ## @BS_TYPEMASK
	.comm	_BS_MULTILINE,4,2               ## @BS_MULTILINE
	.comm	_DT_SINGLELINE,4,2              ## @DT_SINGLELINE
	.comm	_DT_WORDBREAK,4,2               ## @DT_WORDBREAK
	.comm	_DT_RIGHT,4,2                   ## @DT_RIGHT
	.comm	_DT_CENTER,4,2                  ## @DT_CENTER
	.comm	_BS_DEFPUSHBUTTON,8,3           ## @BS_DEFPUSHBUTTON
	.comm	_WS_EX_RIGHT,4,2                ## @WS_EX_RIGHT
	.comm	_DT_LEFT,4,2                    ## @DT_LEFT
	.comm	_BS_GROUPBOX,8,3                ## @BS_GROUPBOX
	.comm	_DT_BOTTOM,4,2                  ## @DT_BOTTOM
	.comm	_DT_VCENTER,4,2                 ## @DT_VCENTER
	.no_dead_strip	_BUTTON_BStoDT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function BUTTON_BStoDT
_BUTTON_BStoDT:                         ; @BUTTON_BStoDT
	.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
	mov	x20, x1
Lloh0:
	adrp	x8, _DT_NOCLIP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DT_NOCLIP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _BS_PUSHLIKE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BS_PUSHLIKE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _BS_TYPEMASK@GOTPAGE
Lloh7:
	ldr	x10, [x10, _BS_TYPEMASK@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w9, w0
	mov	w9, #-1
	csinv	w9, w9, w10, eq
Lloh9:
	adrp	x10, _BS_MULTILINE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _BS_MULTILINE@GOTPAGEOFF]
	and	w19, w9, w0
Lloh11:
	ldr	w9, [x10]
Lloh12:
	adrp	x21, _DT_SINGLELINE@GOTPAGE
Lloh13:
	ldr	x21, [x21, _DT_SINGLELINE@GOTPAGEOFF]
Lloh14:
	adrp	x10, _DT_WORDBREAK@GOTPAGE
Lloh15:
	ldr	x10, [x10, _DT_WORDBREAK@GOTPAGEOFF]
	tst	w19, w9
	csel	x9, x21, x10, eq
	ldr	w9, [x9]
	orr	w22, w9, w8
	mov	w8, #132
	bics	wzr, w8, w19
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_get_button_type
Lloh16:
	adrp	x8, _BS_DEFPUSHBUTTON@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BS_DEFPUSHBUTTON@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	cmp	x0, x8
	b.gt	LBB0_3
LBB0_2:
Lloh19:
	adrp	x8, _DT_CENTER@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DT_CENTER@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	orr	w22, w8, w22
LBB0_3:
Lloh22:
	adrp	x8, _WS_EX_RIGHT@GOTPAGE
Lloh23:
	ldr	x8, [x8, _WS_EX_RIGHT@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_5
; %bb.4:
Lloh25:
	adrp	x8, _DT_RIGHT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _DT_RIGHT@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
Lloh28:
	adrp	x9, _DT_LEFT@GOTPAGE
Lloh29:
	ldr	x9, [x9, _DT_LEFT@GOTPAGEOFF]
Lloh30:
	ldr	w9, [x9]
Lloh31:
	adrp	x10, _DT_CENTER@GOTPAGE
Lloh32:
	ldr	x10, [x10, _DT_CENTER@GOTPAGEOFF]
Lloh33:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bic	w9, w22, w9
	orr	w22, w9, w8
LBB0_5:
	mov	x0, x19
	bl	_get_button_type
Lloh34:
	adrp	x8, _BS_GROUPBOX@GOTPAGE
Lloh35:
	ldr	x8, [x8, _BS_GROUPBOX@GOTPAGEOFF]
Lloh36:
	adrp	x9, _DT_VCENTER@GOTPAGE
Lloh37:
	ldr	x9, [x9, _DT_VCENTER@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	cmp	x0, x8
	csel	x8, x21, x9, eq
	ldr	w8, [x8]
	orr	w0, w8, w22
	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 AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_DT_NOCLIP,4,2                  ; @DT_NOCLIP
	.comm	_BS_PUSHLIKE,4,2                ; @BS_PUSHLIKE
	.comm	_BS_TYPEMASK,4,2                ; @BS_TYPEMASK
	.comm	_BS_MULTILINE,4,2               ; @BS_MULTILINE
	.comm	_DT_SINGLELINE,4,2              ; @DT_SINGLELINE
	.comm	_DT_WORDBREAK,4,2               ; @DT_WORDBREAK
	.comm	_DT_RIGHT,4,2                   ; @DT_RIGHT
	.comm	_DT_CENTER,4,2                  ; @DT_CENTER
	.comm	_BS_DEFPUSHBUTTON,8,3           ; @BS_DEFPUSHBUTTON
	.comm	_WS_EX_RIGHT,4,2                ; @WS_EX_RIGHT
	.comm	_DT_LEFT,4,2                    ; @DT_LEFT
	.comm	_BS_GROUPBOX,8,3                ; @BS_GROUPBOX
	.comm	_DT_BOTTOM,4,2                  ; @DT_BOTTOM
	.comm	_DT_VCENTER,4,2                 ; @DT_VCENTER
	.no_dead_strip	_BUTTON_BStoDT
.subsections_via_symbols
